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 / Html Textbox Font Size
Power Apps
Unanswered

Html Textbox Font Size

(0) ShareShare
ReportReport
Posted on by

Hey,

 

I've been kind of stumped on how to resize the font of rich text in HTML Textbox from a SharePoint column (Course description) to fit the font size of the rest of the data on the same screen.

TrinalRogue_0-1639675636430.png

 

The only thing I can think of is utilizing PowerApps replace function to replace the "font-size:*pt" section of the html script (where * is the font size number which depends on the data from the SharePoint) however I am unaware if the replace function has a wildcard feature that some programming languages have.

 

I don't want to use the RichTextEditor because the toolbar is too obtrusive (unless someone knows how to hide it?) and my stakeholder will reject it.

 

The varying font size is needed in a different part of the process that the stakeholder is unwilling to budge on either (e.g. generating emails etc.). However the text in one record will be consistent (e.g. in the photo above the rich text is currently 11pt however in another record it will be 18pt etc.)

 

TDLR; I need a solution to override the font size of the HTML Textbox which will display record data from a rich text column with  inconsistent font sizing

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @Anonymous 

    You can't override any font size tags in the html from the control, but your options are:

    1) Change the Font Size of the html text control itself and make it larger and closer to the other font sizes on the screen.

    2) Utilize the Match function to do pattern matching on the html to find and change the size.

     

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    on at

    @RandyHayes I'm trying to problem solve the same issue. I can't get the text size in the SharePoint list close because I need one size for on-screen (12 pt) viewing and another for printing (8 pt) on a different screen. Trying to put it at a happy medium is too small or large. I can leave it at 8 or 12 if the suggestion number works, but what is meant by, "Utilize the Match function to do pattern matching on the HTML to find and change the size?" Can you provide an example?

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard