cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mattw112IG
Impactful Individual
Impactful Individual

How many galleries can you put in a Gallery?

I have a Gallery and I used to have labels/textboxes to show the data from a record/item...

 

But in some cases there's a lot of text and there's no scrollbar option?? (not sure why Microsoft?)

 

So I came across this idea from denglish

Textbox Scrollbar - Power Platform Community (microsoft.com)

 

I was able to create 1 flexible height gallery within my gallery and it works as expected.  But I am trying to add another and it won't let me?  Is it a known things that one 1 gallery can be put inside another gallery?

 

I have 5 fields I would like to have scrollbars, any other options? 

 

Thanks,

Terry

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@Mattw112IG 

You can only nest one Gallery in another Gallery.

You can consider using one Flexible height gallery as the outer/main gallery and then putting a HtmlText control or Label (set Overflow to scroll if you want to scroll that one)  in the gallery row with the AutoHeight property set on.  Then put whatever information in that you want to that control.  Your main gallery will now be the correct rows height based on the contents in the html or label control.

 

Personally I levitate toward the Html control as then I can put in tables and other markup to give me the look that I want.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

2 REPLIES 2
RandyHayes
Super User
Super User

@Mattw112IG 

You can only nest one Gallery in another Gallery.

You can consider using one Flexible height gallery as the outer/main gallery and then putting a HtmlText control or Label (set Overflow to scroll if you want to scroll that one)  in the gallery row with the AutoHeight property set on.  Then put whatever information in that you want to that control.  Your main gallery will now be the correct rows height based on the contents in the html or label control.

 

Personally I levitate toward the Html control as then I can put in tables and other markup to give me the look that I want.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Yep, I used HTML and created my on text box with autoscroll option.  Worked perfect:

 

HTMLText:

"<div style='height:218px; padding: 3%; text-align: left;'><span style='font-family: Calibri, sans-serif; font-size: 10pt;'>" & ThisItem.'Technical Skill Areas' & "</span></div>"

 

Didn't need Width, set in PA

Didn't need autoscroll options, PA handled that

Didn't need border info, did in PA

 

Thanks,

Terry

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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