cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
divs0910
Helper I
Helper I

Responsiveness not working in containers in canvas app

Hi Team,

 

I am trying to build a responsive canvas app. I have added a container on a screen and added controls inside the container. Adjusted display settings and turned off the lock aspect ratio feature. Turned on wrap for horizontal container. But when I minimize the screen size the controls are not getting adjusted as per the screen size. I dont understand what the issue is. Please help me with this. I am struck here and not able to identify the issue.

 

Thanks in advance,

Divya

2 ACCEPTED SOLUTIONS

Accepted Solutions
Pstork1
Dual Super User
Dual Super User

  1. Did you turn off Lock Aspect Ratio or Scale to Fit?  For a responsive app you need to turn off Scale to Fit, which will also disable Lock Aspect Ratio.
  2. After adding the container did you adjust the Width and Height of the container to be relative to the Parent (Screen).  If you don't the container won't resize and controls won't move.


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Thank you for the response. I forgot to add container width and height with respect to parent. Now I have added that and it's working now. Thank you so much.

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User
Dual Super User

  1. Did you turn off Lock Aspect Ratio or Scale to Fit?  For a responsive app you need to turn off Scale to Fit, which will also disable Lock Aspect Ratio.
  2. After adding the container did you adjust the Width and Height of the container to be relative to the Parent (Screen).  If you don't the container won't resize and controls won't move.


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thank you for the response. I forgot to add container width and height with respect to parent. Now I have added that and it's working now. Thank you so much.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

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.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,718)