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 horizonta...
Power Apps
Unanswered

html textbox horizontal scroll for images

(1) ShareShare
ReportReport
Posted on by 2
Hi we have a Power App that uses a richtext box to enter data and images, etc. and save to the dataverse.  We then use an html textbox to display that data as it preserves the formatting and images.  Unfortunately if the images are too large they get cut off on the right width wise.  Vertical scroll is automatic, however we've researched adding horizontal scrolling to the html textbox however were unable to find a solution.  Anyone know if it's possible to enable a horizontal scroller in a html textbox?
Categories:
I have the same question (0)
  • Suggested answer
    Nandit Profile Picture
    1,568 Moderator on at
     
    Found a way to achieve this. To make it happen you would need two HTML Text controls and a Horizontal Container. Here's an image of my solution. 
    You can make the Visible property false for the HTML Text 1 (90-degree rotated) once we have the scroll.
     
     
    Here are the values:
    HTMLText1
    AutoHeight: 
    true
    HtmlText1 Text
    "<div style='transform: rotate(90deg); vertical-align: bottom;margin-bottom: 0;left:0; font-size: 8px; width: 56px ; height: 55px'>
    This is an image from Web<b><font color=blue></font></b>
    <img src=""https://i0.wp.com/3grow.net/wp-content/uploads/2023/11/PowerAppsLogo.png?fit=1200%2C630&ssl=1"" >
    more text. </div>"
    HtmlText2 Text
    "This is an image from Web<b><font color=blue></font></b>
    <img src=""https://i0.wp.com/3grow.net/wp-content/uploads/2023/11/PowerAppsLogo.png?fit=1200%2C630&ssl=1"" >
     more text."
    HTML Text 2 is in a Container
    Add a Horizontal Container on the screen and put HTML Text 2 inside it. 
    Horizontal Overflow / LayoutOverflowX: Scroll
     
    HTML Text 2 Width:
    HtmlText1.Height
    Select HTML Text 1 and update visibility to false
     
    This is how the HTML Text 2 will behave - 
     
    Hope this helps. 
     
    Kind regards, 
    Nandit
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!
     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard