Skip to content

Commit

Permalink
improve the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor committed Dec 6, 2024
1 parent 500f8d6 commit 32d915b
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 36 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<component>
<api>
<prop name="text" type="string" default="Muhaha"/>
<prop name="text" type="string" default="Button"/>
<prop name="my_width" type="int" default="100"/>
</api>
<styles>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<component>
<params>
<string name="text"/>
</params>
<styles>
<style name="main" bg_color="0xff3322" text_color="0xffffff" border_color="0x333333" radius="100"/>
</styles>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<component>
<params>
<string name="text"/>
</params>
<styles>
<style name="main" bg_color="0xffbb44" text_color="0x000000" border_color="0x333333" radius="100"/>
</styles>
Expand Down
21 changes: 0 additions & 21 deletions examples/components/dark_slider.xml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions examples/components/home.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<component>
<view extends="lv_obj" width="100%" height="100%" style_radius="0" style_border_width="0">
<lv_obj flex_flow="column" width="50%" height="100%">
<slider_box title="First"/>
<slider_box title="Temperature of the Living room"/>
<slider_box title="The last one"/>
</lv_obj>

<button_error text="Default" align="center"/>
</view>
</component>
7 changes: 0 additions & 7 deletions examples/components/row.xml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/widgets/dark_slider/dark_slider.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
border_width="2" border_color="0xaaaaaa"
radius="100"
width="100"
pad_all="3"/>
pad_all="3"/>
<style name="light_knob"
bg_color="0xeeeeee" bg_opa="255"
border_width="2" border_color="0xaaaaaa" pad_all="10"/>
Expand Down

0 comments on commit 32d915b

Please sign in to comment.