Add wake up sound entry to settings + resize settings icon

This commit is contained in:
Admar Schoonen 2023-01-07 22:05:12 +01:00
parent 49276e8963
commit bb6f49d024
1 changed files with 12 additions and 2 deletions

View File

@ -54,7 +54,7 @@ Builder.load_string('''
id: settings_button
size_hint: None, None
pos_hint: {"center_x":0.9, "center_y":0.9}
size: 0.1*min(root.size), 0.1*min(root.size)
size: 0.1*310/560*min(root.size), 0.1*310/560*min(root.size)
FloatLayout
id: settings_menu
@ -68,7 +68,7 @@ Builder.load_string('''
size: self.size
pos: self.pos
GridLayout:
rows: 7
rows: 8
cols: 2
pos_hint: {"center_x":0.5, "center_y":0.5}
Label:
@ -84,6 +84,16 @@ Builder.load_string('''
on_value: root.volume_slider_value(*args)
value_track: True
value_track_color: [1, 0, 0, 1]
Label:
text:"Wake up sound"
halign: "left"
valign: "middle"
text_size: self.size
Label:
text:"wake up sound"
halign: "left"
valign: "middle"
text_size: self.size
Label:
text:"Wake up brightness"
halign: "left"