It’s running! Yeah!

This commit is contained in:
2024-04-29 22:12:07 +02:00
commit e3f032507e
9 changed files with 174 additions and 0 deletions

29
rankiv.kv Normal file
View File

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