cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper V
Helper V

multiple lines text

Hi All

This share point form is customized by Powerapps.

I would like to know that for the multiple lines text, is it possible to extend the height automatically when the number of displayed rows is exceeded, instead of scrolling down.

キャプチャ.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Tiffany-Jo ,

Do you want to extend the height of the Text Input box (multiple lines mode) automatically when the number of displayed rows is exceeded?

 

The user Mr. Dang has provide a solution for this scenario, please check and see if the following blog would help in your scenario:

https://officepowerups.com/2019/01/21/how-to-make-a-multiline-text-input-control-automatically-adjus...

 

On your side, you could add a Label control (Label1) inside the Comment field data card in the Edit form, make the TextInput box over the Label control. Set the Text property of the Label to following:

CommentTextInputBox.Text

Set the AutoHeight property of the Label to following:

true

 

Set the Height property of the Comment TextInput box to following:

Max(70, Label1.Height)

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Super User III
Super User III

Hi @Tiffany-Jo ,

A text box has a Len property (number of characters)  Len(TextBoxName.Text) and a Y property (height)

You could do something with the setting the Y to the Len divided by the average number of characters in a line taking into account the pixel height of a row. A bit of experimenting may get you the result you require.

 

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.

 

 

Community Support
Community Support

Hi @Tiffany-Jo ,

Do you want to extend the height of the Text Input box (multiple lines mode) automatically when the number of displayed rows is exceeded?

 

The user Mr. Dang has provide a solution for this scenario, please check and see if the following blog would help in your scenario:

https://officepowerups.com/2019/01/21/how-to-make-a-multiline-text-input-control-automatically-adjus...

 

On your side, you could add a Label control (Label1) inside the Comment field data card in the Edit form, make the TextInput box over the Label control. Set the Text property of the Label to following:

CommentTextInputBox.Text

Set the AutoHeight property of the Label to following:

true

 

Set the Height property of the Comment TextInput box to following:

Max(70, Label1.Height)

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (13,008)