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 / Have a label I need to...
Power Apps
Answered

Have a label I need to stay stationary in datacard with expanding text box

(0) ShareShare
ReportReport
Posted on by 53

I am working on an app based on a SharePoint list.  I started with the default "Create an app" in SharePoint and am using a single screen for the View/Edit/New form.   My form has a lot of text fields and many can have a lot of information in them, so we need to be able to see all the text in the box without a scroll bar.  After much Googling and tries, I kind of have it working most of the time, my problem is that I added a text box below the text input with instructions for what to put in the box.  The problem is when typing along, once you get about three or four lines in the text input, it passes the text box with instructions and shows those in the middle of what's being entered.  How do I set it so the text box remains below the text input?

 

JeanL_0-1675708442890.png

JeanL_1-1675708461090.png

 

Categories:
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @JeanL,

     

    Since the textbox expands once you need more space to write, you will have to define the label's Y property dynamically instead of having a hardcoded number.

     

    Try to implement the following code in the Y property of that label:

    //Change'TextInputName' to the actual name
    TextInputName.Height + TextInputName.Y

    In this case, the label will move down once the TextInput requires more space.

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

  • JeanL Profile Picture
    53 on at

    @LaurensM 

     

    Thank you so much!  Worked perfectly.  Now off to repeat that in about 20 other inputs. 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard