as font seems to be too small on device, I try out sp(24 instead of app.font_size)

This commit is contained in:
2024-05-01 00:08:06 +02:00
parent 427ca6cf84
commit 7d51b332d1
3 changed files with 27 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
id: upper_boundary_input
multiline: False
halign: 'center'
font_size: app.font_size
font_size: sp(24)
size_hint: .8, None
height: 42
hint_text: 'Gib eine Zahl ein!'
@@ -17,7 +17,7 @@
size_hint: None, .2
Button:
text: 'Generate!'
font_size: app.font_size
font_size: sp(24)
size_hint: .5, None
pos_hint: {'x': .25}
on_release: app.ran_num.generate_random_number()
@@ -25,4 +25,4 @@
id: output
text: 'Meine Zufallszahl'
halign: 'center'
font_size: app.font_size
font_size: sp(24)