Bug 41084 - When resizing the app window on Windows platforms, elements in cells are not resizing correctly
Summary: When resizing the app window on Windows platforms, elements in cells are not ...
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 2.2.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-05-13 20:39 UTC by Anonymous
Modified: 2017-05-11 01:07 UTC (History)
5 users (show)

Tags: ac
Is this bug a regression?: ---
Last known good build:


Attachments
Reproduction (310.55 KB, application/x-zip-compressed)
2016-05-13 20:39 UTC, Anonymous
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 41084 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Anonymous 2016-05-13 20:39:58 UTC
Created attachment 15999 [details]
Reproduction

Running any of the Windows applications, when you make the app window large and then resize it down to the minimum width, the contents of the ViewCells are not resizing correctly. This is occurring with multiple types of controls, but I have included a reproduction with Labels for simplicity's sake.

Running on Android and iOS you will not experience this issue while rotating or resizing.
Comment 1 Anonymous 2016-05-13 20:54:40 UTC
Also wanted to note that I have also tested against the latest prerelease (2.3.0.38-pre2) and it's still an issue there as well.
Comment 2 Anonymous 2016-05-16 19:59:24 UTC
Doing some digging around in the renderers it seems like when the Elements are in a ViewCell, the Xamarin.Forms Elements (Label, Button, etc) receive the correct new dimensions upon resize but the Windows native controls are not getting that information. Worked around the issue by forwarding the size update from the Xamarin.Forms Elements to the native controls in the renderers.