mirror of
https://github.com/zlgopen/awtk.git
synced 2025-05-09 03:51:08 +08:00
add layout demo xml
This commit is contained in:
parent
3fc997b65f
commit
df59a079ba
@ -1,4 +1,9 @@
|
|||||||
<window name="main" x="0" y="0" w="320" h="480">
|
<window name="main" x="0" y="0" w="320" h="480">
|
||||||
<button x="0" y="5" w="50%" h="30" text="50%"/>
|
<button x="0" y="5" w="50%" h="30" text="50%"/>
|
||||||
<button x="0" y="40" w="100%" h="30" text="100%"/>
|
<button x="0" y="40" w="100%" h="30" text="100%"/>
|
||||||
|
|
||||||
|
<button x="center" y="middle" w="30%" h="30" text="ok"/>
|
||||||
|
|
||||||
|
<button x="20" y="bottom:30" w="30%" h="30" text="ok"/>
|
||||||
|
<button x="right:20" y="bottom:30" w="30%" h="30" text="cancel"/>
|
||||||
</window>
|
</window>
|
||||||
|
@ -1,4 +1,35 @@
|
|||||||
<window name="main" x="0" y="0" w="320" h="480" layout="1 0">
|
<window name="main" x="0" y="0" w="320" h="480">
|
||||||
<button x="0" y="5" w="50%" h="30" text="20%"/>
|
<group_box x="0" y="10" w="100%" h="30" layout="1 0">
|
||||||
<button x="0" y="40" w="100%" h="30" text="30%"/>
|
<button x="0" y="0" w="60" h="0" text="60"/>
|
||||||
|
<button x="0" y="0" w="100" h="0" text="100"/>
|
||||||
|
</group_box>
|
||||||
|
<group_box x="0" y="50" w="100%" h="40" layout="1 0 5 10">
|
||||||
|
<button x="0" y="0" w="60" h="0" text="60"/>
|
||||||
|
<button x="0" y="0" w="100" h="0" text="100"/>
|
||||||
|
</group_box>
|
||||||
|
<group_box x="0" y="90" w="100%" h="40" layout="1 2 5 10">
|
||||||
|
<button x="0" y="0" w="0" h="0" text="button"/>
|
||||||
|
<button x="0" y="0" w="0" h="0" text="button"/>
|
||||||
|
</group_box>
|
||||||
|
|
||||||
|
<group_box x="0" y="140" w="100%" h="90" layout="2 2 10 5">
|
||||||
|
<button x="0" y="0" w="0" h="0" text="button"/>
|
||||||
|
<button x="0" y="0" w="0" h="0" text="button"/>
|
||||||
|
<button x="0" y="0" w="0" h="0" text="button"/>
|
||||||
|
<button x="0" y="0" w="0" h="0" text="button"/>
|
||||||
|
</group_box>
|
||||||
|
|
||||||
|
<group_box x="0" y="240" w="50%" h="180" layout="4 1 5 10">
|
||||||
|
<button x="0" y="0" w="0" h="0" text="button"/>
|
||||||
|
<button x="0" y="0" w="0" h="0" text="button"/>
|
||||||
|
<button x="0" y="0" w="0" h="0" text="button"/>
|
||||||
|
<button x="0" y="0" w="0" h="0" text="button"/>
|
||||||
|
</group_box>
|
||||||
|
|
||||||
|
<group_box x="55%" y="240" w="40%" h="180" layout="0 1 5 10">
|
||||||
|
<button x="0" y="0" w="0" h="20" text="button"/>
|
||||||
|
<button x="0" y="0" w="0" h="30" text="button"/>
|
||||||
|
<button x="0" y="0" w="0" h="40" text="button"/>
|
||||||
|
<button x="0" y="0" w="0" h="50" text="button"/>
|
||||||
|
</group_box>
|
||||||
</window>
|
</window>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user