[tekui-devel] tekui: Cosmetic corrections in default stylesheet and examples

Timm S. Mueller tmueller at schulze-mueller.de
Tue Jan 5 01:57:18 CET 2010


details:   http://hg.teklib.org/tekui/rev/092c5d938a91
changeset: 125:092c5d938a91
user:      Timm S. Mueller <tmueller at schulze-mueller.de>
date:      Tue Jan 05 00:40:48 2010 +0100
description:
Cosmetic corrections in default stylesheet and examples

diffstat:

 bin/demo_alignment.lua   |  6 +-----
 bin/tutorial-3.lua       |  1 +
 tek/ui/style/default.css |  3 ++-
 3 files changed, 4 insertions(+), 6 deletions(-)

diffs (63 lines):

diff -r 832b0fe3a10a -r 092c5d938a91 bin/demo_alignment.lua
--- a/bin/demo_alignment.lua	Mon Jan 04 10:45:29 2010 +0100
+++ b/bin/demo_alignment.lua	Tue Jan 05 00:40:48 2010 +0100
@@ -15,11 +15,9 @@
 
 local window = Window:new
 {
+	Title = L.ALIGNMENT_TITLE,
 	Orientation = "vertical",
-	Id = "alignment-window",
-	Title = L.ALIGNMENT_TITLE,
 	Status = "hide",
-	Orientation = "vertical",
 	HideOnEscape = true,
 	Children =
 	{
@@ -27,7 +25,6 @@
 		{
 			Orientation = "vertical",
 			Width = "free",
-			Height = "free",
 			Legend = L.ALIGNMENT_HORIZONTAL,
 			Children =
 			{
@@ -64,7 +61,6 @@
 		},
 		Group:new
 		{
-			Width = "free",
 			Height = "free",
 			Legend = L.ALIGNMENT_VERTICAL,
 			Children =
diff -r 832b0fe3a10a -r 092c5d938a91 bin/tutorial-3.lua
--- a/bin/tutorial-3.lua	Mon Jan 04 10:45:29 2010 +0100
+++ b/bin/tutorial-3.lua	Tue Jan 05 00:40:48 2010 +0100
@@ -20,6 +20,7 @@
 				ui.Button:new
 				{
 					Text = "world",
+					MaxHeight = "none",
 				},
 			}
 		}
diff -r 832b0fe3a10a -r 092c5d938a91 tek/ui/style/default.css
--- a/tek/ui/style/default.css	Mon Jan 04 10:45:29 2010 +0100
+++ b/tek/ui/style/default.css	Tue Jan 05 00:40:48 2010 +0100
@@ -2,7 +2,7 @@
 /*
 **	tek/ui/style/default.css
 **
-**	Version: 2.0
+**	Version: 2.1
 */
 
 tek.ui.class.area {
@@ -108,6 +108,7 @@
 	border-color: detail;
 }
 tek.ui.class.listgadget:active {
+	color: list-active-detail;
 	background-color: list-active;
 	border-color: detail;
 }


More information about the tekui-devel mailing list