Skip to main content
Community site session details

Community site session details

Session Id : 9Olq2LwtVvmn7dEnkh/FlS
Power Apps - Building Power Apps
Answered

combo box selection width adjust on select/change

Like (0) ShareShare
ReportReport
Posted on 4 Nov 2023 18:57:18 by 185

I have a combo box that I need to fit into a small width.

The combo field displays item code (3-5 characters) when not selected, but when it is selected, I want it to show full item name (20 or so characters).

Without any changes, it wraps the item name into small field width which is not nice.

lknudson1_1-1699121416457.png

I changed the field width to a local variable and set the OnSelect to update width variable to accommodate wider name text, which it does with a little weirdness - you need to reselect wider combo box to get dropdown of names.

lknudson1_3-1699123175315.png

 

I set the temp variable to shorter width temp variable on OnChange which it didn't work.

I did a Reset to the field in OnChange and then it did return field to shorter width but of course with original field value - not new selection.

 

Any ideas for me here?

 

Thanks!

 

Categories:
  • SpongYe Profile Picture
    5,580 Super User 2025 Season 1 on 04 Nov 2023 at 19:58:15
    Re: combo box selection width adjust on select/change

    @lknudson1 

     

    The chevron size is fixed and adjust with the height of the control. The only way to make the chevron smaller is to reduce the height of the control, but that may affect the visibility of the text. 

     

    If you have any questions or feedback, please let me know. Have a great day! 😊

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • lknudson1 Profile Picture
    185 on 04 Nov 2023 at 19:20:05
    Re: combo box selection width adjust on select/change

    And another question.

    Is there a way to size chevron portion of field?

    lknudson1_0-1699125490619.png

    I can hide it by changing background fill, but it still takes up too much space when I want to fit many fields in a row.

    Thanks!

     

  • Verified answer
    lknudson1 Profile Picture
    185 on 04 Nov 2023 at 19:16:27
    Re: combo box selection width adjust on select/change

    I got it working now, but still kind of quirky.  Flashing gallery on update, secondary select when wide field shows.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Loading complete