Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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 on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 12803 [details]
A content page that illustrates the bug.
The Grid does not refresh its size within its parent when the text of a child label is updated. Calling ForceLayout on the grid does not resolve this either.
I have attached a page with the issue.
The page has a timer which updates a label inside a grid (inside another grid). The grid then does not expand its space in the parent grid (myGridLayout) and the items underneath the grid do not move down the page.
Calling the ForceLayout method of the parent does fix this but should not be required (see comment in code).
rotating the page to landscape and back corrects this. (but will not update if the text changes again).
Will upload a reproduction project using the provided code, with minor changes for the device timer, and checked against 18.104.22.16804-pre3 to reproduce.
Created attachment 12806 [details]
Reproduction project (using provided code)