Bug 2912 - AutoSize behavior of FlowLayoutPanel broken
Summary: AutoSize behavior of FlowLayoutPanel broken
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: Windows.Forms ()
Version: 2.10.x
Hardware: PC Linux
: Lowest normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-01-16 12:08 UTC by eb1
Modified: 2014-05-15 17:13 UTC (History)
2 users (show)

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


Attachments
Proposed fix (13.18 KB, patch)
2012-01-19 03:21 UTC, eb1
Details
Proposed upgrade to the proposed fix for master (13.18 KB, application/octet-stream)
2012-01-19 22:24 UTC, Miguel de Icaza [MSFT]
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 on GitHub or Developer Community 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.

Related Links:
Status:
RESOLVED FIXED

Description eb1 2012-01-16 12:08:24 UTC
A FlowLayoutPanel with AutoSize set to true and Docking to Top or Bottom doesn't resize properly if the child controls break to multiple lines. The size of the FlowLayoutPanel stays the same.
Comment 1 Miguel de Icaza [MSFT] 2012-01-16 14:52:07 UTC
Since we are not actively maintaining Windows.Forms, I have reset the Importance to Lowest.
Comment 2 eb1 2012-01-19 03:21:16 UTC
Created attachment 1228 [details]
Proposed fix
Comment 3 Miguel de Icaza [MSFT] 2012-01-19 22:24:07 UTC
Created attachment 1241 [details]
Proposed upgrade to the proposed fix for master

I had to manually apply this to master as it did not apply cleanly.

I could not get it to apply to mono-2-10 either.

I have attached the patch here for master.
Comment 4 eb1 2012-01-20 02:11:10 UTC
Thanks for upgrading the patch. Looks good to me.
Comment 5 eb1 2014-03-13 12:30:36 UTC
Proposed fix in PR #952.
Comment 6 Miguel de Icaza [MSFT] 2014-05-15 17:13:04 UTC
Applied