cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TML
Advocate III
Advocate III

Flexible Height Gallery works only sometimes

I have a flexible gallery list and sometimes it displays correctly, but not always.  This gallery is displaying text from a SQL table that comprises a list of questions.  Sometimes the questions are fully displayed and sometimes they are not.  The gallery items are controlled by which section (another gallery list) was selected.  By clicking on the same section again and again, I can get the flexible height gallery to "refresh" which sometimes will cause it to display correctly and sometimes it will not, but this is not a good solution because it resets all items in the list and loses any work that has been done.

Am I doing something wrong?  Is this a bug?  Anyone found a workable solution?

 

Example screen shots:

When it first opens this screenWhen it first opens this screenAfter first "refresh"After first "refresh"After a second "refresh"After a second "refresh"

1 ACCEPTED SOLUTION

Accepted Solutions
TML
Advocate III
Advocate III

I switched to using HTML controls instead of labels and that resolved the issue of it not resizing correctly and cutting off the text sometimes. 

View solution in original post

4 REPLIES 4
AKotb
Power Apps
Power Apps

Can you tell us about the controls inside the flexible height gallery ?
Are you using an html control (with autoheight enabled) for both the title and subtitle ? or two labels ?

TML
Advocate III
Advocate III

I am using two label controls with Auto Height enabled.  I also have a radio button control which you can see in the screen shots, and a text control to the right of the RB that becomes visible if they choose "Training" in the RB.  But in the screen shots, the only thing to the left of the RB control are the two labels.

TML
Advocate III
Advocate III

I switched to using HTML controls instead of labels and that resolved the issue of it not resizing correctly and cutting off the text sometimes. 

Thanks a lot @TML !

 

Using the HTML-Control has also solved another problem:

 

If i use a simple Filter for the Items Property of the Flexible Height Gallery erverything works fine.

But if i use SortByColumns, i run in exactly the same problem you have described here.

 

With the HTML Control everything works fine! 🙂

 

Best regards

Stefan

 

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

Users online (2,001)