Commits

Dusty Phillips  committed 437dda9

Add a Scatter demo

  • Participants
  • Parent commits b2afe70

Comments (0)

Files changed (2)

File container_kvs/ScatterContainer.kv

+#:kivy 1.4
+
+BoxLayout:
+    Scatter:
+        size_hint: None, None
+        size: 100, 100
+        pos: 100, 100
+        Image:
+            source: 'softboy.png'
+    Scatter:
+        size_hint: None, None
+        size: 100, 100
+        pos: 100, 100
+        do_rotation: False
+        Label:
+            text: "something"

File kivycatalog.kv

                     kv_container: filechoosercontainer
                     FileChooserContainer:
                         id: filechoosercontainer
+                AccordionItem:
+                    on_collapse: root.show_kv(*args)
+                    title: "Scatter"
+                    kv_container: scatter
+                    ScatterContainer:
+                        id: scatter
 
         BoxLayout:
             id: bl