In .:
2006-12-28 Chris Toshok <toshok@ximian.com>
* System.Windows.Forms_test.dll.sources: add DefaultLayoutTest and
remove DockingTests.
In Test/System.Windows.Forms:
2006-12-28 Chris Toshok <toshok@ximian.com>
* ControlTest.cs: add a test to check whether parent.PerformLayout
is called from OnResized (it isn't).
* DefaultLayoutTest.cs: new file, add a bunch of anchor tests,
including the (not working) test case in bug #80336. Move the
docking/undocking tests here.
In System.Windows.Forms:
2006-12-28 Chris Toshok <toshok@ximian.com>
* Control.cs: contrary to what the comment said, Control.Dock does
not supercede Control.Anchor - the last one you assign to decides
the layout behavior. so we need to keep track of which was the
last set. Also, fix some of the affected property arguments in
PerformLayout calls, and remove an redundant parent.PerformLayout
call in OnResized.
Add a VisibleInternal property, which returns is_visible. We
can/should get rid of all the usage of this field elsewhere.
In System.Windows.Forms.Layout:
2006-12-28 Chris Toshok <toshok@ximian.com>
* DefaultLayout.cs: split out the various parts (docking,
anchoring) into separate methods. make use of the
Control.ControlLayoutType property, as well as
Control.VisibleInternal (and fix a couple of unit tests which were
broken due to use of Visible here.)
git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mcs@70194 e3ebcda4-bce8-0310-ba0a-eca2169e7518