[Mono-bugs] [Bug 346246] New: TableLayoutPanel: autosize problem

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 5 11:41:45 EST 2007


           Summary: TableLayoutPanel: autosize problem
           Product: Mono: Class Libraries
           Version: 1.2.5
          Platform: i386
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: manfred.ramoser at emdse.eu
         QAContact: mono-bugs at ximian.com
          Found By: ---

Hello while trying to port a .NET application I encountered a bug with the
TableLayoutPanel and the autosize property.

Mono Version installed:

Visual Studio version:
Visual Studio 2005 SP1

Steps to reproduce bug:
1) Create a new windows project
2) Put a table layout panel on the form
3) Create 1 column and 2 rows
4) Set AutoSize property of the table layout panel to true
5) Put a button (or another control) inside the top cell
6) Put a picture box inside the bottom cell -> not necessarily needed
7) Create another button outside the table layout panel which increases the
height and width of the button inside the cell

- Under windows the table layout panel is resized correctly as the button is
- With Mono the button grows until it reaches the border of the cell then it
stops to grow and the table layout panel is not resized

Something similar happens if also the size type of the column is set to auto
size; then the button grows, but only in horizontal direction and the table
layout panel does not grow

I tried to do the same with the button inside a panel and there it works
perfectly under windows and under mono.

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