[skin] update
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
$type: haxework.gui.VGroupView
|
||||
paddings: 20
|
||||
layoutMargin: 10
|
||||
skin: [ $type: [haxework.gui.skin.Skin.color, 0xff0000] ]
|
||||
skin: [ $type: [haxework.gui.skin.Skin.color, 0x333333] ]
|
||||
views:
|
||||
- id: list
|
||||
$type: haxework.gui.list.VListView<String>
|
||||
@@ -14,44 +14,34 @@ views:
|
||||
$type: haxework.gui.list.VScrollView
|
||||
width: 10
|
||||
pHeight: 100
|
||||
skin: [ $type: [haxework.gui.list.ScrollSkin.vertical, 0xcffcc, 0x55cc55] ]
|
||||
skin: [ $type: [haxework.gui.list.ScrollSkin.vertical, 0x55cc55, 0xccffcc] ]
|
||||
skin: [ $type: [haxework.gui.skin.Skin.color, 0xffffff] ]
|
||||
- $type: haxework.gui.SpriteView
|
||||
vAlign: BOTTOM
|
||||
width: 50
|
||||
height: 50
|
||||
leftMargin: 5
|
||||
rightMargin: 10
|
||||
skin: [ $type: [haxework.gui.skin.Skin.color, 0x0000ff] ]
|
||||
- id: panel
|
||||
$type: haxework.gui.HGroupView
|
||||
layoutHAlign: RIGHT
|
||||
pWidth: 100
|
||||
height: 30
|
||||
paddings: 3
|
||||
layoutMargin: 3
|
||||
skin: [ $type: [haxework.gui.skin.Skin.color, 0xffff00] ]
|
||||
height: 60
|
||||
# contentSize: true
|
||||
layoutMargin: 10
|
||||
skin: [ $type: [haxework.gui.skin.Skin.color, 0x555555] ]
|
||||
views:
|
||||
- id: button1
|
||||
$type: haxework.gui.ButtonView
|
||||
+onPress: $this:onPress
|
||||
width: 100
|
||||
pHeight: 100
|
||||
skin: [ $type: [haxework.gui.skin.ButtonSkin.color, 0xcc0000] ]
|
||||
text: Text1
|
||||
contentSize: true
|
||||
paddings: 8
|
||||
skin: $this:buttonSkin
|
||||
text: OK
|
||||
- id: button2
|
||||
$type: haxework.gui.ButtonView
|
||||
+onPress: $this:onPress
|
||||
contentSize: true
|
||||
skin: [ $type: [haxework.gui.skin.ButtonSkin.color, 0x00cc00] ]
|
||||
text: Text2
|
||||
fontFamily: Georgia
|
||||
fontColor: 0xffffff
|
||||
paddings: 8
|
||||
skin: $this:buttonSkin
|
||||
text: Apply
|
||||
- id: button3
|
||||
$type: haxework.gui.ButtonView
|
||||
+onPress: $this:onPress
|
||||
contentSize: true
|
||||
skin: [ $type: [haxework.gui.skin.ButtonSkin.color, 0x00cccc] ]
|
||||
text: Text 3333333333 ddd
|
||||
fontFamily: Tahoma
|
||||
fontColor: 0xff0000
|
||||
paddings: 8
|
||||
skin: $this:buttonSkin
|
||||
text: Cancel
|
||||
|
||||
Reference in New Issue
Block a user