web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / BUG - Form control ins...
Power Apps
Unanswered

BUG - Form control inside Layout Container doesn't wrap properly

(2) ShareShare
ReportReport
Posted on by 63

In my Forms (or any canvas control) the cards won't appear side by side when the form is placed inside a Horizontal or Vertical Layout container. I've tried using "Snap to columns" and turning it off and setting Parent.Width/2 on the cards.

If I remove the Form from the layout container and use a regular container it's fine. The only workaround is to put the Form inside a normal container, which is then inside the layout container. At that point the Form's dimensions need to be set to Parent.Width and Parent.Height. Seems like a bug.

 

Here is the form inside a normal layout container
Screenshot 2021-05-04 082837.jpg

The container dimensions are set manually, Form1 dimensions are set to Parent.Width and Parent.Height

All the cards have a width property equal to Parent.Width/2

Screenshot 2021-05-12 151613.jpg

 

But when you put that same form inside a Layout Container. The Align (vertical) property is set to Stretch and the Form is set to have a Flexible width.
Screenshot 2021-05-12 152040.jpg

The form behaves strangely. When the container is manually resized to a smaller width, the cards shrink correctly and appear side by side. However, when the container is resized manually to a larger width, the cards all stack. It seems to still respect the Parent.Width/2.

Screenshot 2021-05-12 152240.jpg

 

This is obviously an issue for responsive apps.

 

My workaround currently is to put the form inside a regular container, inside a layout container. The Form then has dimensions of Parent.Width and Parent.Height. The regular container has FlexibleWidth turned on and the layout container's LayoutAlignItems property is set to Stretch.

Screenshot 2021-05-12 152402.jpg

 

Categories:
I have the same question (0)
  • Chenri48 Profile Picture
    3 on at

    This bug has not yet been resolved! When will be?

  • AshwiniGBS Profile Picture
    27 on at

    I too have the same issue. Is there an update ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard