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 / Increase font-size of ...
Power Apps
Answered

Increase font-size of header by clicking on button

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Good morning everybody,

 

today I have a question for you. I want to create a PowerApps Application, where you can increase and decrease the font-size by clicking on a button.

This means you have a header (for example) and click [like in word, see the attachment] on a button and after this the font of the header will increase/decrease.

Any ideas? I tried to increase the font-size of the header with the OnClick-Function of the button.

 

Best regards and thanks for you help

 

DA4

Unbenannt.PNG
Unbenannt.PNG
Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @Anonymous 

     

    Direct property reference is not supported, so you have to use the variables. To achieve this, you can set the configuration as:

    Increase Button -> OnSelect -> Set(HeaderSize, HeaderSize + 1)
    Descrease Button -> OnSelect ->Set(HeaderSize,HeaderSize -1)
    Label -> Size -> HeaderSize
    Screen -> OnVisible -> Set(HeaderSize,13) --->> This is for setting the default size of the label.

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Excellent, it works! 🙂

    Thank you @yashag2255 

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 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard