Still running… in multiple files, with global font_size…

This commit is contained in:
2024-04-29 22:49:29 +02:00
parent e3f032507e
commit 8ed3d2d76c
4 changed files with 51 additions and 37 deletions

View File

@@ -3,12 +3,12 @@
orientation: 'vertical'
Label:
text: 'Zufallszahl von 1 bis ?'
font_size: sp(24)
font_size: app.font_size
TextInput:
id: upper_boundary_input
multiline: False
halign: 'center'
font_size: 24
font_size: app.font_size
size_hint: .8, None
height: 42
hint_text: 'Gib eine Zahl ein!'
@@ -18,12 +18,12 @@
size_hint: None, .2
Button:
text: 'Generate!'
font_size: 24
font_size: app.font_size
size_hint: .5, None
pos_hint: {'x': .25}
on_release: app.generate_random_number()
on_release: app.ran_num.generate_random_number()
Label:
id: output
text: 'Meine Zufallszahl'
halign: 'center'
font_size: 24
font_size: app.font_size