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

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.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (1,227)