ide: Fixed initial size & position of the IDE
authorJerome St-Louis <jerome@ecere.com>
Mon, 27 Feb 2012 15:28:17 +0000 (10:28 -0500)
committerJerome St-Louis <jerome@ecere.com>
Thu, 1 Mar 2012 04:53:39 +0000 (23:53 -0500)
ide/src/ide.ec

index d82e413..10e0ac6 100644 (file)
@@ -222,6 +222,14 @@ class IDEMainFrame : Window
    hasMenuBar = true;
    icon = { ":icon.png" };
    text = titleECEREIDE;
+#ifdef _DEBUG
+   //stayOnTop = true;
+   size = { 800, 600 };
+   anchor = { top = 0, right = 0, bottom = 0 };
+#else
+   state = maximized;
+   anchor = { left = 0, top = 0, right = 0, bottom = 0 };
+#endif
 
    Stacker stack
    {
@@ -254,14 +262,7 @@ class IDEWorkSpace : Window
    hasHorzScroll = true;
    hasStatusBar = true;
    isActiveClient = true;
-#if 0 //def _DEBUG
-   //stayOnTop = true;
-   size = { 800, 600 };
-   anchor = { top = 0, right = 0, bottom = 0 };
-#else
-   //state = maximized;
    anchor = { left = 0, top = 0, right = 0, bottom = 0 };
-#endif
    menu = Menu {  };
 
    MenuItem * driverItems, * skinItems;