I have crated a tabet-sized app with nested flexible height galleries. A brief ovrview of what I want it to look like:
Parent gallery has categories that are rows in a SharePoint list. Alternatively, I can get them from a GroupBy(Filter...) expression on a second SharePoint list has items associated with a category; those items are shown in the subgallery.
I set the hight of the subgallery as the count of the rows * row height. I also display the count value next to the category name, and all are correct. Additionally, I want the subgallery to be for a specific date, and a Filter(.... gets just the right items for each category.
When I run the app directly or run it from edit mode, what happens is the height of the subgallery (the items) displays correcty, but the parent gallery's height remains fixed. Interestingly when I try to change the height of the first row of the parent gallery or modify the height value directly, it always goes back to its original value (617 oddly enough).
Here's the whopper though. I threw together a quick version of a PHONE-sized app using the same datasource, collection values and filter values (Cut and paste to make sure), and that app behaves perfectly with both the parent and child gallery sizing as they should. I have a lot of data to display on subsequent screens (when an item is selected) so a mobile screen doesn't meet my needs.
I have tried any number of different suggestions but not one of those changes behavior. I tried using the category list for the parent as well as the groupby table but no difference in the end result.
Does the parent gallery only adjust in phone-sized screens?
it would be nice to just be able to specify the relationship between two data sources. Would copying the SP data to dataverse and using tables there work? Not that I want that extra effort and license cost! Just want to understand about Power Apps and why it works in one layout but not the other.

Report
All responses (
Answers (