cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WebPortal
Post Prodigy
Post Prodigy

How to adjust the height of the line automatically?

Hello,

 

I'm trying to configure the LineHeight of a data card in a gallery to automatic, ie, expandable in function of the amount of text.

 

Therefore, the AutoHeight property is set to true.

 

However, the height is defined by whatever value LinheHeight contains. 

 

How to adjust the height of the line automatically?

 

Thanks in advance!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Just:

 AutoHeight = true should work.

If you have changed the line make it 1.2

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

3 REPLIES 3
eka24
Super User III
Super User III

After you have Set the autoheight to true already, do you want all the label to be of same height. Because what you have already done should work.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Hi @eka24 

 

I want the label to have an auto height, because each record has a different amount of text. Some records have only one word or two, while others have lots of text and should have a higher height.

 

So, AutoHeight = true

And LineHeight = ???

Just:

 AutoHeight = true should work.

If you have changed the line make it 1.2

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,318)