From: Jerome St-Louis Date: Sun, 9 Feb 2014 04:12:03 +0000 (+0700) Subject: ide/licensing; documentor/SettingsDialog: clientSize fixes X-Git-Tag: 0.44.09.9~79 X-Git-Url: https://ecere.com/cgi-bin/gitweb.cgi?p=sdk;a=commitdiff_plain;h=ff706f7a939a5faf08bd973d38e28394fd92187b ide/licensing; documentor/SettingsDialog: clientSize fixes --- diff --git a/documentor/src/Documentor.ec b/documentor/src/Documentor.ec index bcbbe14..da546ee 100644 --- a/documentor/src/Documentor.ec +++ b/documentor/src/Documentor.ec @@ -2182,7 +2182,6 @@ class MainForm : Window borderStyle = sizable; hasMaximize = true; hasMinimize = true; - nativeDecorations = true; icon = { ":documentorIcon.png" }; text = $"API Documentation Browser"; diff --git a/documentor/src/SettingsDialog.ec b/documentor/src/SettingsDialog.ec index 5fe1709..336d7b8 100644 --- a/documentor/src/SettingsDialog.ec +++ b/documentor/src/SettingsDialog.ec @@ -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 }; diff --git a/ide/src/licensing.ec b/ide/src/licensing.ec index 629828d..54cdbd3 100644 --- a/ide/src/licensing.ec +++ b/ide/src/licensing.ec @@ -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 };