We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f509405 commit 9a9a843Copy full SHA for 9a9a843
Kivy/main.py
@@ -1,14 +1,9 @@
1
2
+from kivy.app import App
3
4
+class Demo(App):
5
-from kivymd.app import MDApp
-from kivymd.uix.label import MDLabel, MDIcon
6
-
7
-class Demo(MDApp):
8
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
+ return super().build()
+
14
Demo().run()
0 commit comments