http://bugzilla.novell.com/show_bug.cgi?id=504582


           Summary: ClientSize property not properly applied when assigned
                    prior to FormBorderStyle property assigment
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.7;
NET CLR 3.5; ffco7) Gecko/2009021910 Firefox/3.0.7

If the FormBorderStyle property of a System.Windows.Forms.Form class is
assigned AFTER the ClientSize property, the resulting client size is not
correctly displayed. It appears that the displayed client size is reduced by
the amount of space consumed by the border elements.

If the ClientSize property is assigned after the FormBorderStyle property, the
correct behavior is observed.

Reproducible: Always

Steps to Reproduce:
1. Edit InitializeComponent() function of Form such that ClientSize property is
assigned prior to FormBorderStype property.
2. Compile and Run.

Actual Results:  
ClientSize displayed is smaller than specified.

Expected Results:  
ClientSize displayed is equal to value specified.

-- 
Configure bugmail: http://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