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

Notifications

Announcements

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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard