2007-09-13 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Thu, 13 Sep 2007 21:35:54 +0000 (21:35 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Thu, 13 Sep 2007 21:35:54 +0000 (21:35 -0000)
commitb968fc21284cbb699c4de3d650c391fea9685b80
tree58687134664b41549f2254221c27634cdf5b4c7d
parentae49a4094ba683b1383ded7cca8dc4b06a724ee0
2007-09-13  Jonathan Pobst  <monkey@jpobst.com>

* TableLayout.cs: Use control's PreferredSize when figuring up the
size of an AutoSize row/column.

2007-09-13  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Take Margin into account when calculating preferred
size.  Also, allow preferred size to get smaller than the explicit
size.
* ToolStripTextBox.cs: Don't change the GetPreferredSize implementation.
First step towards fixing bug #82747.

svn path=/trunk/mcs/; revision=85778
mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms.Layout/TableLayout.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStrip.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripTextBox.cs