[Mono-bugs] [Bug 438872] New: System.Windows.Forms.Form does not respect MinimumSize/ MaximumSize (Mac OS X)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 24 14:52:17 EDT 2008


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


           Summary: System.Windows.Forms.Form does not respect
                    MinimumSize/MaximumSize (Mac OS X)
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: aypetrov at yandex.ru
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=247927)
 --> (https://bugzilla.novell.com/attachment.cgi?id=247927)
Sample code demonstrating the problem

System.Windows.Forms.Form does not respect MinimumSize and MaximumSize under
Mac OS X.

Try this:

1. Create a form, put the following code in constructor:
      MinimumSize = new Size(320, 200);
      MaximumSize = new Size(640, 400);
2. Compile, run.
3. Try to resize. You will be able to make it tiny or huge in size, regardless
of MinimumSize/MaximumSize.

Sample code attached. Compilation: 
mcs -r:System.Drawing,System.Windows.Forms MyForm.cs


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