Skip to content

Commit 9a9a843

Browse files
committed
Demo
1 parent f509405 commit 9a9a843

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

Kivy/main.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11

2+
from kivy.app import App
23

4+
class Demo(App):
35

4-
from kivymd.app import MDApp
5-
from kivymd.uix.label import MDLabel, MDIcon
6-
7-
class Demo(MDApp):
86
def build(self):
9-
label = MDLabel(text="Hello world", halign="center", theme_text_color="Custom",
10-
text_color=(0, 0, 1, 1))
11-
12-
icon_label = MDIcon(icon="Library-video", halign="center")
13-
return icon_label
7+
return super().build()
8+
149
Demo().run()

0 commit comments

Comments
 (0)