awtk/design/default/ui/dialog_highlight_dynamic.xml
2022-07-29 17:31:58 +08:00

12 lines
674 B
XML

<dialog x="c" y="m" w="80%" h="160" text="Dialog" anim_hint="popdown" highlight="default(start_alpha=0, end_alpha=100)" move_focus_prev_key="up" move_focus_next_key="down">
<dialog_title x="0" y="0" w="100%" h="30" text="Hello AWTK" >
<draggable drag_window="true"/>
</dialog_title>
<dialog_client x="0" y="bottom" w="100%" h="-30">
<label name="" x="center" y="middle:-20" w="200" h="30" text="Dialog Highlight Dynamic Alpha!"/>
<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>