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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,585)