[Mono-bugs] [Bug 415616] New: [Regression] AutoScaleMode=AutoScaleMode. Font causes form layout problem

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 7 17:51:46 EDT 2008


           Summary: [Regression] AutoScaleMode=AutoScaleMode.Font causes
                    form layout problem
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: i586
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: derekd at omni-ts.com
         QAContact: mono-bugs at lists.ximian.com
                CC: stephane at omni-ts.com
          Found By: ---

Created an attachment (id=232365)
 --> (https://bugzilla.novell.com/attachment.cgi?id=232365)
AutoScaleMode layout problem

Description of Problem:
If form.AutoScaleMode=AutoScaleMode.Font then the width of the form is greatly
decreased causing panels to compress to just a few pixels in width.

This problem did not exist in 1.9.1 but does in Mono 2.0 Preview 1.

Steps to reproduce the problem:
1. Create a form
2. Add a panel to the form
3. Set background color of panel to something easy to see
4. Set the form AutoScaleMode value to be Font

Actual Results:
On OpenSuse 10.3 form is reduced in width to about 100 pixels. Panels are
reduced to 3 or for pixels in width.

How often does this happen? 

Attached is screen caps and code.

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