Skip to content

Commit 8dc84fa

Browse files
authored
Update design.md
1 parent 90b4503 commit 8dc84fa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/tips/design.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ This is also possible with entire frames and its children objects. So keep that
5555
Here is a example on how to create a cool looking frame by using xml:
5656
```xml
5757
<frame width="parent.w/2" bg="gray" scrollable="true" importantScroll="true">
58-
<button x="2" y="2" width="100%-2" bg="black" fg="lightGray" text="Example Button 1!"/>
59-
<button x="2" y="6" width="100%-2" bg="black" fg="lightGray" text="Example Button 2!"/>
60-
<button x="2" y="10" width="100%-2" bg="black" fg="lightGray" text="Example Button 3!"/>
61-
<button x="2" y="14" width="100%-2" bg="black" fg="lightGray" text="Example Button 4!"/>
62-
<button x="2" y="18" width="100%-2" bg="black" fg="lightGray" text="Example Button 5!"/>
63-
<button x="2" y="22" width="100%-2" bg="black" fg="lightGray" text="Example Button 6!"/>
64-
<button x="2" y="26" width="100%-2" bg="black" fg="lightGray" text="Example Button 7!"/>
58+
<button x="2" y="2" width="parent.w-2" bg="black" fg="lightGray" text="Example Button 1!"/>
59+
<button x="2" y="6" width="parent.w-2" bg="black" fg="lightGray" text="Example Button 2!"/>
60+
<button x="2" y="10" width="parent.w-2" bg="black" fg="lightGray" text="Example Button 3!"/>
61+
<button x="2" y="14" width="parent.w-2" bg="black" fg="lightGray" text="Example Button 4!"/>
62+
<button x="2" y="18" width="parent.w-2" bg="black" fg="lightGray" text="Example Button 5!"/>
63+
<button x="2" y="22" width="parent.w-2" bg="black" fg="lightGray" text="Example Button 6!"/>
64+
<button x="2" y="26" width="parent.w-2" bg="black" fg="lightGray" text="Example Button 7!"/>
6565
</frame>
6666
<frame x="parent.w/2+1" width="parent.w/2+1" bg="black">
6767
<textfield bg="gray" x="2" y="2" width="parent.w-2">

0 commit comments

Comments
 (0)