[mapguide-commits] r4602 - trunk/Tools/Maestro/Maestro/ResourceEditors

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sat Feb 20 18:34:36 EST 2010


Author: ksgeograf
Date: 2010-02-20 18:34:35 -0500 (Sat, 20 Feb 2010)
New Revision: 4602

Modified:
   trunk/Tools/Maestro/Maestro/ResourceEditors/FeatureSourceEditorBase.cs
Log:
Maestro: Fixed a display issue with unknown FeatureSource providers.

Modified: trunk/Tools/Maestro/Maestro/ResourceEditors/FeatureSourceEditorBase.cs
===================================================================
--- trunk/Tools/Maestro/Maestro/ResourceEditors/FeatureSourceEditorBase.cs	2010-02-18 23:21:15 UTC (rev 4601)
+++ trunk/Tools/Maestro/Maestro/ResourceEditors/FeatureSourceEditorBase.cs	2010-02-20 23:34:35 UTC (rev 4602)
@@ -74,16 +74,14 @@
 				if (uc.GetType() == typeof(FeatureSourceEditorGeneric))
 				{
 					Panel editorPanel = new Panel();
-					editorPanel.Top = EditorTab.Top;
-					editorPanel.Left = EditorTab.Left;
-					editorPanel.Width = EditorTab.Width;
-					editorPanel.Height = EditorTab.Height;
 					editorPanel.Controls.Clear();
 					editorPanel.Controls.Add(uc);
 					editorPanel.Anchor = EditorTab.Anchor;
 
 					this.Controls.Remove(EditorTab);
 					this.Controls.Add(editorPanel);
+                    editorPanel.Dock = DockStyle.Fill;
+                    editorPanel.BringToFront();
 					
 					m_childGeneric = (FeatureSourceEditorGeneric)m_child;
 				}



More information about the mapguide-commits mailing list