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 / Unable to Change Fonts...
Power Apps
Answered

Unable to Change Fontsize of HtmlText Control

(0) ShareShare
ReportReport
Posted on by 86

Hi All,

 

I have a "htmlText" Control on my Form and Gallery within the canvas app. However i am unable to increase the font size of the control. Changing the size property does not have any effect. I am using this control cos otherwise the "div tags" display in the control.

 

Any help would be appreciated.

Poweruser1101_0-1637231833783.png

 

 

 

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

    Hi @Poweruser1101 

     

    Try this 

     

    "<p style=color:red;font-size:20px >make a test</p>"

     

    Capture.c34PNG.PNG

     

  • Poweruser1101 Profile Picture
    86 on at

    Hi Ramole,

     

    Thank you for replying. Since mine is a datacard I tried the below but it did not work -

    "<p style=color:red;font-size:20px>" & Parent.Default & "</p>"

     

    Poweruser1101_0-1637265900845.png

     

     

  • Ramole Profile Picture
    Super User 2024 Season 1 on at

    Hi @Poweruser1101 

     

    I have tested inside datacard and it should work you can change the text size with no proplem 

     

    "<p style=color:black;font-size:16px>" & Parent.Default & "</p>"

     provided your using HtmlText Control

  • Poweruser1101 Profile Picture
    86 on at

    Hi @Ramole 

    Yes i am using the htmlText control inside the datacard. Not sure why the above one didn't worked me
    The following worked for me -

    "<p><font size=4px>" & Parent.Default & "</p>"

     

    Poweruser1101_0-1637277891049.png

     

  • Verified answer
    Ramole Profile Picture
    Super User 2024 Season 1 on at

    @Poweruser1101 

    This one is working for sure, try another card and see if it works 

    "<p><font size=40px>" & Parent.Default & "</p>"
  • Pod_san Profile Picture
    2 on at

    It doesn't work in this case either.

    screenImage.png

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 316 Most Valuable Professional

#2
11manish Profile Picture

11manish 242

#3
Valantis Profile Picture

Valantis 198

Last 30 days Overall leaderboard