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

View solution in original post

Thanks @hpkeong, this seems to have worked well!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (90,433)