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 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,664)