Add wake up sound entry to settings + resize settings icon
This commit is contained in:
parent
49276e8963
commit
bb6f49d024
14
clock.py
14
clock.py
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue