Author: jpobst
Date: 2007-10-17 18:33:15 -0400 (Wed, 17 Oct 2007)
New Revision: 87724

Modified:
   trunk/winforms/treeview/swf-treeview.cs
Log:
Add controls in the correct order for Dock.Fill to work correctly.

Modified: trunk/winforms/treeview/swf-treeview.cs
===================================================================
--- trunk/winforms/treeview/swf-treeview.cs     2007-10-17 21:57:01 UTC (rev 
87723)
+++ trunk/winforms/treeview/swf-treeview.cs     2007-10-17 22:33:15 UTC (rev 
87724)
@@ -41,7 +41,6 @@
                
                tool_bar.ButtonClick += new ToolBarButtonClickEventHandler 
(ToolBarButtonClick);
 
-               Controls.Add (tool_bar);
 
                tree_view = new TreeView ();
                tree_view.Anchor = AnchorStyles.Top | AnchorStyles.Left;
@@ -64,6 +63,7 @@
 
 
                Controls.Add (tree_view);
+               Controls.Add (tool_bar);
 
                tree_view.Nodes [0].Expand ();
 /*

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to