[add] add version label
This commit is contained in:
@@ -20,8 +20,8 @@ class PuzzlezTheme extends Theme {
|
||||
"skin.background.color" => colors.light,
|
||||
"skin.border.color" => colors.border,
|
||||
"geometry.padding" => Box.fromFloat(3),
|
||||
"geometry.width" => SizeValue.fromInt(192),
|
||||
"geometry.height" => SizeValue.fromInt(128),
|
||||
"geometry.width" => SizeValue.fromInt(320),
|
||||
"geometry.height" => SizeValue.fromInt(240),
|
||||
]));
|
||||
register(new Style("text.error", [
|
||||
"font.color" => Color.fromString("red"),
|
||||
|
||||
@@ -20,6 +20,7 @@ views:
|
||||
overflow.y: scroll
|
||||
- $type: haxework.view.group.HGroupView
|
||||
geometry.width: 100%
|
||||
layout.vAlign: middle
|
||||
views:
|
||||
- $type: haxework.view.form.ButtonView
|
||||
text: Load
|
||||
@@ -30,3 +31,8 @@ views:
|
||||
style: button.red
|
||||
text: Clean
|
||||
+onPress: ~clean()
|
||||
- $type: haxework.view.form.LabelView
|
||||
text: $r:text:version
|
||||
geometry.position: absolute
|
||||
geometry.hAlign: right
|
||||
geometry.vAlign: top
|
||||
|
||||
Reference in New Issue
Block a user