awtk/demos/res/raw/ui/window1.xml
2018-03-18 11:29:31 +08:00

19 lines
1.1 KiB
XML

<window name="main" x="0" y="0" w="320" h="480">
<button name="inc" x="10" y="5" w="40%" h="30" text="Inc"/>
<button name="dec" x="right:10" y="5" w="40%" h="30" text="Dec"/>
<image name="img" x="10" y="230" w="100" h="100"/>
<label name="" x="10" y="40" w="80" h="30" text="Left"/>
<label name="" x="100" y="40" w="80" h="30" text="Center"/>
<label name="" x="200" y="40" w="80" h="30" text="Right"/>
<progress_bar name="bar1" x="10" y="80" w="168" h="30" value="40"/>
<progress_bar name="bar2" x="260" y="80" w="30" h="118" value="20" vertical="true"/>
<check_button name="c1" x="10" y="150" w="80" h="30" text="Book"/>
<check_button name="c2" x="100" y="150" w="80" h="30" text="Food"/>
<radio_button name="r1" x="10" y="200" w="80" h="30" text="Book"/>
<radio_button name="r2" x="100" y="200" w="80" h="30" text="Food"/>
<radio_button name="r3" x="190" y="200" w="80" h="30" text="Pencil" value="true"/>
<button name="dialog" x="10" y="260" w="40%" h="30" text="Dialog"/>
<button name="dialog2" x="right:10" y="260" w="40%" h="30" text="Dialog2"/>
</window>