cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ShaneITAutomate
Post Patron
Post Patron

Padding not working on Dropdowns in View Form

Like the title says the top padding for the dropdowns in the view display mode of a form?

 

See below

for forum.png

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @ShaneITAutomate ,

Do you mean that the PaddingTop property within the ComboBox could not work in Display form or Edit form in View mode?

 

Based on the issue that you mentioned, I have made a test, and the issue is confirmed on my side. Actually, it is an known issue with "Padding" property of the ComboBox control -- The Padding property of the ComboBox would not work when the ComboBox is inside a Display form or Edit form in View mode.

 

If you would like this feature to be improved in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

As an alternative solution, you could consider unlock the "Registration State" field data card in your Display form, then hidden the DataCardValue3_1 (ComboBox) through the following formula:

Set the Visible property of the DataCardValue3_1 to following:

false

 

then add a Label control inside your "Registration State" field data card, set the Text property to following:

ThisItem.'Registration State'.Value

If you enable "Allow Multiple Selections" for your "Registration State" field in your SP List, please try the following formula:

Concat(ThisItem.'Registration State', Value & ", ")

After that, you could change the Padding property of the new inserted Label in your Display form as below: 

3.JPG

 

Please consider take a try with above solution, then check if the alternative solution could help in your scenario.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
JayMagness
Solution Specialist
Solution Specialist

This looks ok to me... remember the card has the description and the field. the field is padding from the bottom of the description.

v-xida-msft
Community Support
Community Support

Hi @ShaneITAutomate ,

Do you mean that the PaddingTop property within the ComboBox could not work in Display form or Edit form in View mode?

 

Based on the issue that you mentioned, I have made a test, and the issue is confirmed on my side. Actually, it is an known issue with "Padding" property of the ComboBox control -- The Padding property of the ComboBox would not work when the ComboBox is inside a Display form or Edit form in View mode.

 

If you would like this feature to be improved in PowerApps, please submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

As an alternative solution, you could consider unlock the "Registration State" field data card in your Display form, then hidden the DataCardValue3_1 (ComboBox) through the following formula:

Set the Visible property of the DataCardValue3_1 to following:

false

 

then add a Label control inside your "Registration State" field data card, set the Text property to following:

ThisItem.'Registration State'.Value

If you enable "Allow Multiple Selections" for your "Registration State" field in your SP List, please try the following formula:

Concat(ThisItem.'Registration State', Value & ", ")

After that, you could change the Padding property of the new inserted Label in your Display form as below: 

3.JPG

 

Please consider take a try with above solution, then check if the alternative solution could help in your scenario.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
anas_aitkenspen
Frequent Visitor

Found a solution for this!!! Adjust the padding to the desired amount, remove the default selected items property of the dropdown and enter the default selected items again. 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,139)