http://bugzilla.novell.com/show_bug.cgi?id=531591
User [email protected] added comment http://bugzilla.novell.com/show_bug.cgi?id=531591#c3 --- Comment #3 from Timotheus Pokorra <[email protected]> 2009-08-24 01:11:45 MDT --- I found several problems in my own patch. #1 the same problem is for RowSpan. That is not considered in my patch. #2 the line in my patch: max_width = Math.Max (max_width, ctrl_width - avail_width); should be max_width = max_width + ctrl_width - avail_width; #3 the problem does not only exist with empty columns as described above, but also exists if you have this situation: |very long control spanning 2 columns| |smallercontrol|anothersmallctrl| In the current implementation of Mono 2.4, the layout would look like this: |very long control spanning 2 co| |smallercontrol|anothersmallctrl| #4 even when I have used my fix from #2 in the patch, this situation still looks strange: |very long control spanning 2 columns|anotherctrl| |smallercontrol|anothersmallctrl|| will now look like this with my patch: |very long control spanning 2 columns|anotherctrl| |smallercontrol |anothersmallctrl| | where as in MS.net it looks like this: |very long control spanning 2 columns|anotherctrl| |smallercontrol|anothersmallctrl | | I hope this analysis helps to make the TableLayoutPanel even better, and someone clever finds a good algorithm to solve it! Thanks, Timo -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
