[Mono-bugs] [Bug 418684] New: Setting Control.Margin property doesn' t update the display

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Aug 20 08:06:42 EDT 2008


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


           Summary: Setting Control.Margin property doesn't update the
                    display
           Product: Mono: Class Libraries
           Version: 1.9
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=234417)
 --> (https://bugzilla.novell.com/attachment.cgi?id=234417)
Repro -- FlowLayoutAndMargins.cs

When the Control.Margin property is changed the form should re-layout.  In
Mono, it does not.  Only at a later forced layout is the change seen.


Repro steps
1. Run the app -- which has five buttons in a FlowLayoutPanel, with a
controlling PropertyGrid.
2. In the PropertyGrid form, select the first of the buttons and change its
Margin to e.g. 30 on all sides.
Expect: the controls on the main form immediately re-flow to give that button
the new surrounding margin size.
Currently in Mono, one has to force the re-layout.  For instance drag the
bottom edge of the form up or down; then the re-layout occurs.


-- 
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.


More information about the mono-bugs mailing list