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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard