[Mono-bugs] [Bug 433531] TableLayoutPanel: Layout error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 8 15:21:38 EDT 2008


User jpobst at novell.com added comment

Jonathan Pobst <jpobst at novell.com> changed:

           What    |Removed                                         |Added
             Status|ASSIGNED                                        |RESOLVED
         Resolution|                                                |FIXED

--- Comment #3 from Jonathan Pobst <jpobst at novell.com>  2008-10-08 13:21:37 MDT ---
In r115259, I made it so that all the panels will show up, however I don't
think it is possible to mimic .Net's layout order.  Basically, the issue is you
are assigning all 4 panels to be in cell (0, 0) in the TableLayoutPanel.  Both
Net and Mono will now flow the extra panels to other empty cells, but I don't
know .Net's ordering algorithm.  For the attached example, their order is: 3rd
added, 4th added, 1st added, 2nd added.

The workaround is that you need to explicitly assign the cells to your panels. 
(Click the panel, go to the properties window, and set Column and Row.)

2008-10-08  Jonathan Pobst  <monkey at jpobst.com>

        * TableLayout.cs: If multiple controls are set to the same cell,
        flow the additional ones to other empty cells.  [Fixes bug #433531]

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list