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 / Dynamically change the...
Power Apps
Unanswered

Dynamically change the height of Rich Text Editor in PowerApps based on text entered.

(0) ShareShare
ReportReport
Posted on by 50

Hi,

I am using Rich Text Editor in PowerApps, and I need to configure height property such that the editor should expand or contract itself dynamically based on the text entered in it.

 

I tried using several methods but didn't worked, so can anyone help me out in this?

 

Screenshot: -

 

Rajath_0-1683191280874.png

I need this text editor to be dynamically change its height.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,799 Most Valuable Professional on at

    Hi @Rajath ,

    It is not an exact science, but if you make a calculation of the average number of characters per line at the font and size you are using and the resulting line height in pixels, you can divide the Length of the string inside by this factor - so if you have 50 characters per line and a line height of 20 pixels the Height would be

    Len(Self.Text)/100

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Rajath Krishna S Profile Picture
    50 on at

    Hi @WarrenBelz ,

    I tried this step but didn't work. I don't need a scrollbar for Rich Text Editor, without scrollbar it should change its height dynamically.

  • WarrenBelz Profile Picture
    154,799 Most Valuable Professional on at

    @Rajath ,

    Sorry I have no other ideas

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard