web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to set dynamic wid...
Power Apps
Unanswered

How to set dynamic width in a gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

 

I'm looking for a way to set dynamic width in a gallery. 

Here is what I have set now. 

1.png

This is what we want. 

2.png

 

Could anyone help on this? Thanks!

 

Jack

Categories:
I have the same question (0)
  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @Anonymous could you show me the structure of your Gallery. So a Screenshot of the Treeview would be helpful. Also please provide the Formular you are currently using for the Items Property of the Gallery. 

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, @PowerRanger ,

     

    Only a label there, I want to show all selected items as label under the combo box. 

    3.png

     

    Thanks!

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    TemplateSize property is used for the Height of the Gallery template, not width.

     

    Could you please share more details about the setup of the Label? How did you manage to make it display all the selected items? What is Items of the Gallery?

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Jenkies Profile Picture
    33 on at

    This begs the question, why doesn't the gallery have both template height and width?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard