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 / Update Size Property O...
Power Apps
Answered

Update Size Property OnSelect

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Dont know why I am having such a problems with this.  I have a button that I am trying to change the size of when you click it. Nothing seems to be working.

Categories:
  • TimRohr Profile Picture
    669 on at

    Set a Context Variable in the OnSelect of the button, then reference that variable in the Height/Width property.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Tried that.  When I set the variable to 332 it treats it like 0

  • Verified answer
    TimRohr Profile Picture
    669 on at

    Can you post what you're doing? It's working for me no problem...

     

    Before click:

    powerappscap1.PNG

     

    After click:

    powerappscap2.PNG

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I didnt think to use onVisable I was setting it global.  Thanks for the better perspective.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard