[tekui-devel] tekui: TextInput: now longer enters editing mode when receiving ...
Timm S. Mueller
tmueller at schulze-mueller.de
Fri Oct 3 00:13:05 CEST 2008
details: http://hg.teklib.org/tekui/rev/490284aae1fc
changeset: 22:490284aae1fc
user: Timm S. Mueller <tmueller at schulze-mueller.de>
date: Wed Sep 24 03:06:58 2008 +0200
description:
TextInput: now longer enters editing mode when receiving the focus; PopItem:
in ScrollGroups now opens at correct possition; DirList, FloatText, Text:
Corrected version numbers; PopList: didn't respect Image, TextHAlign and Width
during creation, fixed
diffs (truncated from 635 to 100 lines):
diff -r 74af0977afd9 -r 490284aae1fc bin/demo.lua
--- a/bin/demo.lua Tue Sep 23 20:41:15 2008 +0200
+++ b/bin/demo.lua Wed Sep 24 03:06:58 2008 +0200
@@ -282,11 +282,13 @@ app = ui.Application:new
Orientation = "vertical",
Children =
{
+ ui.Text:new { Id = "about-mem-used" },
+
ui.Group:new
{
Children =
{
- ui.Text:new { Id = "about-mem-used" },
+ ui.Gauge:new { Id = "about-mem-gauge" },
ui.Text:new
{
Text = L.RESET,
@@ -309,7 +311,6 @@ app = ui.Application:new
},
}
},
- ui.Gauge:new { Id = "about-mem-gauge" },
}
}
}
@@ -387,7 +388,7 @@ app = ui.Application:new
{
Mode = "button",
Class = "button",
- Text = "Debug Console",
+ Text = L.DEBUG_CONSOLE,
Notifications =
{
["Pressed"] =
diff -r 74af0977afd9 -r 490284aae1fc bin/multilist.lua
--- a/bin/multilist.lua Tue Sep 23 20:41:15 2008 +0200
+++ b/bin/multilist.lua Wed Sep 24 03:06:58 2008 +0200
@@ -119,7 +119,7 @@ ui.Application:new
local input = self.Application:getElementById("the-input")
list:addItem("")
list:setValue("CursorLine", list:getN())
- input:setValue("Focus", true)
+ self.Window:clickElement(input)
end }
}
}
@@ -139,7 +139,7 @@ ui.Application:new
local input = self.Application:getElementById("the-input")
list:addItem("", list.CursorLine)
input:setValue("Text", "")
- input:setValue("Focus", true)
+ self.Window:clickElement(input)
end
end }
}
diff -r 74af0977afd9 -r 490284aae1fc bin/popups.lua
--- a/bin/popups.lua Tue Sep 23 20:41:15 2008 +0200
+++ b/bin/popups.lua Wed Sep 24 03:06:58 2008 +0200
@@ -36,44 +36,35 @@ ui.Application:new
},
ui.MenuItem:new
{
- Text = "_Bla",
- Children =
- {
- ui.MenuItem:new { Text = "Bla" },
- ui.MenuItem:new { Text = "Bl_ub" },
+ Text = "Any",
+ Children =
+ {
ui.MenuItem:new
{
- Text = "Any",
+ Text = "Recursion",
Children =
{
ui.MenuItem:new
{
- Text = "Recursion",
+ Text = "Depth" ,
Children =
{
ui.MenuItem:new
{
- Text = "Depth" ,
+ Text = "Will" ,
Children =
{
ui.MenuItem:new
{
- Text = "Will" ,
- Children =
- {
- ui.MenuItem:new
- {
- Text = "Do."
- },
- }
- },
More information about the tekui-devel
mailing list