Files
tankz/src/client/haxe/ru/m/tankz/view/popup/FontPopup.yaml
2019-05-21 17:44:48 +03:00

28 lines
857 B
YAML

---
view:
$type: haxework.view.VGroupView
geometry.size.width: 400
geometry.size.height: 80%
geometry.padding: 10
geometry.hAlign: center
geometry.vAlign: middle
skinId: dark
views:
- id: fonts
$type: haxework.view.list.VListView
geometry.size.stretch: true
factory: $this:fontViewFactory
+onItemSelect: $code:function(item) close(item.data)
scroll:
$type: haxework.view.list.VScrollBarView
skinId: scroll.vertical
- $type: haxework.view.HGroupView
geometry.size.width: 100%
geometry.margin.top: 10
layout.hAlign: right
views:
- $type: haxework.view.ButtonView
skinId: button.simple
text: Cancel
+onPress: $code:reject('cancel')