https://bugzilla.novell.com/show_bug.cgi?id=439443


           Summary: Incorrect AutoSize behavior for various docked controls
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


When a control with AutoSize=true and AutoSizeMode set to GrowOnly is docked to
one side of a form, in Windows the control will shrink despite the GrowOnly
setting.  In Mono, only TableLayoutPanel currently has this behavior.  Also,
TableLayoutPanel should not shrink when not docked, but it does.

I have only looked at controls that expose a public AutoSizeMode property and
that can be added to a Form.  The controls I tested are:
TableLayoutPanel
FlowLayoutPanel
ToolStripContentPanel
Panel
GroupBox
UserControl
Button

Of these, only Button does not shrink when autosized and docked.  I'm attaching
a patch for SVN r117240 that fixes the problems with docked and autosized
controls (as well as the TableLayoutPanel shrinking when not docked).  The
patch also includes tests for this behavior as well.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to