[Mono-bugs] [Bug 599506] New: Nested control size issue, scrollbars appear

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Apr 25 11:10:42 EDT 2010



           Summary: Nested control size issue, scrollbars appear
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: stifu at free.fr
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=356675)
 --> (http://bugzilla.novell.com/attachment.cgi?id=356675)
Test case

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:
Gecko/20100401 Firefox/3.6.3

I have a TabControl, with a TabPage set to AutoSize = true, so that scrollbars
appear when the content is too big.

I put a Panel inside this TabPage, which has the exact same size as the

Therefore, the scrollbars shouldn't appear since the content is supposed to

With .NET: no scrollbars
With Mono: vertical and horizontal scrollbars appear (they disappear if you
enlarge the window)

Note that scrollbars disappear if I set the Panel Dock property to Fill (but
setting it to Fill isn't always desirable).

Reproducible: Always

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.

More information about the mono-bugs mailing list