awtk/demos/assets/default/raw/ui/dialog1.xml
2019-10-18 03:18:12 -07:00

10 lines
710 B
XML

<dialog anim_hint="center_scale(duration=300)" x="c" y="m" w="80%" h="160" text="Dialog" move_focus_prev_key="up" move_focus_next_key="down">
<dialog_title x="0" y="0" w="100%" h="30" text="Hello AWTK" />
<dialog_client x="0" y="bottom" w="100%" h="-30">
<combo_box left_margin="6" readonly="true" x="center" y="5" w="80%" h="30" text="left" options="left;center;right;" focusable="true"/>
<label name="" x="center" y="middle:-20" w="200" h="30" text="Back to home?"/>
<button name="back_to_home" x="10" y="bottom:10" w="40%" h="30" text="确定" focusable="true"/>
<button name="quit" x="right:10" y="bottom:10" w="40%" h="30" text="取消" focusable="true"/>
</dialog_client>
</dialog>