ide/licensing; documentor/SettingsDialog: clientSize fixes
authorJerome St-Louis <jerome@ecere.com>
Sun, 9 Feb 2014 04:12:03 +0000 (11:12 +0700)
committerJerome St-Louis <jerome@ecere.com>
Sun, 9 Feb 2014 04:12:03 +0000 (11:12 +0700)
documentor/src/Documentor.ec
documentor/src/SettingsDialog.ec
ide/src/licensing.ec

index bcbbe14..da546ee 100644 (file)
@@ -2182,7 +2182,6 @@ class MainForm : Window
    borderStyle = sizable;
    hasMaximize = true;
    hasMinimize = true;
-   nativeDecorations = true;
    icon = { ":documentorIcon.png" };
    text = $"API Documentation Browser";
 
index 5fe1709..336d7b8 100644 (file)
@@ -10,7 +10,7 @@ class SettingsDialog : Window
    hasMinimize = true;
    hasClose = true;
    tabCycle = true;
-   size = { 436, 120 };
+   clientSize = { 436, 92 };
    anchor = { horz = -83, vert = -104 };
 
    Label docLabel { this, text = $"Documentation Path:", anchor = { left = 16, top = 16 }, labeledWindow = pathEditBox };
index 629828d..54cdbd3 100644 (file)
@@ -35,12 +35,11 @@ class LicenseTab : Tab
 
 class LicensesForm : Window
 {
-   text = "License Agreements";
+   caption = "License Agreements";
    background = formColor;
-   hasClose = true;
    borderStyle = sizable;
-   size = { 820, 580 };
-   nativeDecorations = true;
+   hasClose = true;
+   clientSize = { 818, 556 };
 
    TabControl tabControl
    {
@@ -51,83 +50,83 @@ class LicensesForm : Window
    Label label1
    {
       this, anchor = { top = 16 }, font = { "Tahoma", 10, true };
-      text = "This program is based on these free open source software components.";
+      caption = "This program is based on these free open source software components.";
    };
    Label label2
    {
       this, anchor = { top = 32 }, font = { "Tahoma", 10, true };
-      text = "By using it you agree to the terms and conditions of their individual licenses.";
+      caption = "By using it you agree to the terms and conditions of their individual licenses.";
    };
    LicenseTab ecereTab
    {
-      text = "Ecere SDK";
+      caption = "Ecere SDK";
       sourceFile = ":licenses/LICENSE";
       tabControl = tabControl;
    };
    LicenseTab pngTab
    {
-      text = "libpng";
+      caption = "libpng";
       sourceFile = ":licenses/png.LICENSE";
       tabControl = tabControl;
    };
    LicenseTab jpgTab
    {
-      text = "libjpg";
+      caption = "libjpg";
       sourceFile = ":licenses/jpg.LICENSE";
       tabControl = tabControl;
    };
    LicenseTab freetypeTab
    {
-      text = "FreeType";
+      caption = "FreeType";
       sourceFile = ":licenses/freetype.LICENSE";
       tabControl = tabControl;
    };
    LicenseTab harfbuzzTab
    {
-      text = "HarfBuzz";
+      caption = "HarfBuzz";
       sourceFile = ":licenses/harfbuzz.LICENSE";
       tabControl = tabControl;
    };
    LicenseTab gifTab
    {
-      text = "ungif";
+      caption = "ungif";
       sourceFile = ":licenses/ungif.LICENSE";
       tabControl = tabControl;
    };
    LicenseTab zlibTab
    {
-      text = "zlib";
+      caption = "zlib";
       sourceFile = ":licenses/zlib.README";
       tabControl = tabControl;
    };
    LicenseTab sqliteTab
    {
-      text = "SQLite";
+      caption = "SQLite";
       sourceFile = ":licenses/sqlite.LICENSE";
       tabControl = tabControl;
    };
    LicenseTab tango
    {
-      text = "Tango Icons";
+      caption = "Tango Icons";
       sourceFile = ":licenses/tango.COPYING";
       tabControl = tabControl;
    };
    LicenseTab upxTab
    {
-      text = "UPX";
+      caption = "UPX";
       sourceFile = ":licenses/upx.LICENSE";
       tabControl = tabControl;
    };
    LicenseTab gplTab
    {
-      text = "GCC, GDB";
+      caption = "GCC, GDB";
       sourceFile = ":licenses/gpl.LICENSE";
       tabControl = tabControl;
    };
 /*   Button ok
    {
       this;
-      text = "OK";
+      caption = "OK";
       anchor = { bottom = 10 };
       size = { 80, 22 };
       isDefault = true;
@@ -137,7 +136,7 @@ class LicensesForm : Window
    Button dontAgreeButton
    {
       this;
-      text = $"I don't agree";
+      caption = $"I don't agree";
       size = { 100, 22 };
       anchor = { bottom = 10, right = 14 };
 
@@ -150,7 +149,7 @@ class LicensesForm : Window
    Button agreeButton
    {
       this;
-      text = $"I agree";
+      caption = $"I agree";
       font = { "Verdana", 10, bold = true };
       isDefault = true;
       size = { 80, 23 };