cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
devhouji
New Member

[HELP] - Flexible Gallery TEXT OVERFLOW

Hello Everyone,

Good day!

I have a flexible gallery with label 1 using auto-height below is label 2 label 3.

The problem is when the label 1 text is way to many. It overlaps on label 2. 

How to fix this issue? 

devhouji_0-1633076804022.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
RusselThomas
Microsoft
Microsoft

Hi @devhouji ,

Assuming all labels are inside the same 'card' - for dynamic positioning we normally make the Y-location of the bottom component dependent on the Y + height of the component above it - this way, it should automatically be positioned just below it, and it should shift up and down as the above component 'grows' or 'shrinks'.

If this is the effect you're looking for, try this;

Set the Y: property of the bottom text label3 to 

label2.Y + label2.Height

 Likewise, set the Y: property of label2 to:

label1.Y + label1.Height

If you want a few pixels to create a bit of a gap just add +5 or something to the above.

Hope his helps!

RT 

View solution in original post

1 REPLY 1
RusselThomas
Microsoft
Microsoft

Hi @devhouji ,

Assuming all labels are inside the same 'card' - for dynamic positioning we normally make the Y-location of the bottom component dependent on the Y + height of the component above it - this way, it should automatically be positioned just below it, and it should shift up and down as the above component 'grows' or 'shrinks'.

If this is the effect you're looking for, try this;

Set the Y: property of the bottom text label3 to 

label2.Y + label2.Height

 Likewise, set the Y: property of label2 to:

label1.Y + label1.Height

If you want a few pixels to create a bit of a gap just add +5 or something to the above.

Hope his helps!

RT 

View solution in original post

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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