awtk/demos/assets/default/raw/ui/dialog2.xml
2019-10-25 08:14:15 +08:00

13 lines
695 B
XML

<dialog theme="dialog" style="custom" highlight="default(alpha=40)"
x="c" y="m" w="80%" h="220">
<dialog_title style="custom" x="0" y="0" w="100%" h="30" text="Hello AWTK" >
<draggable drag_window="true"/>
</dialog_title>
<dialog_client style="custom" x="0" y="bottom" w="100%" h="-30">
<label x="center" y="middle:-20" w="200" h="30" text="AWTK is cool!"/>
<button name="reload_theme" x="center" y="middle:20" w="80%" h="30" text="Test Change Theme"/>
<button style="green_btn" name="quit" x="10" y="bottom:10" w="40%" h="30" text="确定"/>
<button style="red_btn" name="quit" x="right:10" y="bottom:10" w="40%" h="30" text="取消"/>
</dialog_client>
</dialog>