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: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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:
[EMAIL PROTECTED]:/tmp > mono --version
Mono JIT compiler version 1.9.1 (tarball)
[..]
[EMAIL PROTECTED]:/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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to