cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ShaneITAutomate
Helper V
Helper V

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

2 REPLIES 2
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.

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,426)