fixed a but with newer version of kivymd

This commit is contained in:
janis
2022-10-30 20:23:41 +01:00
parent a20331980f
commit 669279faf3
3 changed files with 5 additions and 4 deletions

View File

@@ -324,13 +324,13 @@ RootScreen:
MDProgressBar: MDProgressBar:
orientation: "horizontal" orientation: "horizontal"
value: 100 value: 100
pos_hint: {"y": 0.3} pos_hint: {"top": 0.8}
color: (1, 1, 1, 0.5) color: (1, 1, 1, 0.5)
MDProgressBar: MDProgressBar:
id: progressbars id: progressbars
orientation: "horizontal" orientation: "horizontal"
value: 0 value: 0
pos_hint: {"y": 0.3} pos_hint: {"top": 0.8}
color: app.theme_cls.primary_dark color: app.theme_cls.primary_dark
Label: Label:
id: current_song id: current_song

View File

@@ -3,6 +3,7 @@ ShowcaseScreen:
on_pre_enter: root.beginUpdating() on_pre_enter: root.beginUpdating()
md_bg_color: (0, 0, 0, 1) md_bg_color: (0, 0, 0, 1)
FloatLayout: FloatLayout:
size: root.width, root.height
Label: Label:
text: "Currently Playing" text: "Currently Playing"
id: titleinfo id: titleinfo
@@ -14,13 +15,13 @@ ShowcaseScreen:
MDProgressBar: MDProgressBar:
orientation: "horizontal" orientation: "horizontal"
value: 100 value: 100
pos_hint: {"y": 0.3} pos_hint: {"top": 0.8}
color: (1, 1, 1, 0.5) color: (1, 1, 1, 0.5)
MDProgressBar: MDProgressBar:
id: progressbars id: progressbars
orientation: "horizontal" orientation: "horizontal"
value: 0 value: 0
pos_hint: {"y": 0.3} pos_hint: {"top": 0.8}
color: app.theme_cls.primary_dark color: app.theme_cls.primary_dark
Label: Label:
id: current_song id: current_song