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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,341)