cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
flyte
Helper II
Helper II

Vertically Scrolling to Accommodate Dynamic Content

As I understand it, to allow your screen to vertically scroll, you need to use an Infinite Scrolling Canvas layout, and then add cards to it that contain your controls that you want to be able to scroll. I have 2 textboxes that pull content from a SharePoint list that are of varying length depending on an ID that is passed in for retreival.

 

The problem that I am having is that although the Textboxes can have an "Auto Height", the cards cannot. 

 

How can I organize my cards / textboxes that would simply allow me to display them with vertical scroll and automatically size their cards to the content?

1 ACCEPTED SOLUTION

Accepted Solutions
hpkeong
Community Champion
Community Champion

Hi @flyte

 

You may set the formula as following:

- Set the TextBox.Height = AutoHeight

- DataCard.Height = TextBox6.Height + 100 (or any value you wish for Padding Bottom)

 

Hope this helps.

 

Screenshot (296).png

hpkeong

View solution in original post

2 REPLIES 2
hpkeong
Community Champion
Community Champion

Hi @flyte

 

You may set the formula as following:

- Set the TextBox.Height = AutoHeight

- DataCard.Height = TextBox6.Height + 100 (or any value you wish for Padding Bottom)

 

Hope this helps.

 

Screenshot (296).png

hpkeong

Thanks @hpkeong, this seems to have worked well!

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.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,758)