[Mono-bugs] [Bug 396141] New: TableLayoutPanel behaving wrong with RowCount == 0

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat May 31 09:11:57 EDT 2008


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


           Summary: TableLayoutPanel behaving wrong with RowCount == 0
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: daniel at hofmannmail.ath.cx
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=219340)
 --> (https://bugzilla.novell.com/attachment.cgi?id=219340)
repro code

Having a form where everything has its AutoSize-Flag set to true, a
TableLayoutPanel with RowCount 0 doesn't show an inserted row, although it
should according to
http://msdn.microsoft.com/en-us/library/system.windows.forms.tablelayoutpanel.rowcount.aspx

The attached example can be built using
gmcs TableLayoutPanelAutoSize.cs -r:System.Windows.Forms -r:System.Drawing

The inserted Table-Row is displayed, when executed on .Net 2.0, but not when
executed using:
dani at kaplan:/tmp > mono --version
Mono JIT compiler version 1.9.1 (tarball)
[..]
dani at kaplan:/tmp > dpkg -l libmono-winforms2.0-cil 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                      Version                   Beschreibung
+++-=========================-=========================-==================================================================
ii  libmono-winforms2.0-cil   1.9.1+dfsg-1              Mono
System.Windows.Forms library

Setting the RowCount to 1 lets the Row appear under Mono as well.


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