Select Git revision
triangle.kv
Forked from
SOFT Core / SOFT 161 and 162 / Buggy Triangle Classifier
1 commit behind the upstream repository.
Brady James Garvin authored
triangle.kv 1.60 KiB
BoxLayout:
orientation: 'vertical'
Widget:
size_hint: (1.0, 2.0)
BoxLayout:
orientation: 'horizontal'
size_hint: (1.0, 0.0)
height: sp(40)
Widget:
Label:
text: 'Side A:'
font_size: sp(36)
Widget:
size_hint: (0.25, 1.0)
TextInput:
id: a
multiline: False
write_tab: False
text: ''
font_size: sp(24)
on_text: app.update()
Widget:
BoxLayout:
orientation: 'horizontal'
size_hint: (1.0, 0.0)
height: sp(40)
Widget:
Label:
text: 'Side B:'
font_size: sp(36)
Widget:
size_hint: (0.25, 1.0)
TextInput:
id: b
multiline: False
write_tab: False
text: ''
font_size: sp(24)
on_text: app.update()
Widget:
BoxLayout:
orientation: 'horizontal'
size_hint: (1.0, 0.0)
height: sp(40)
Widget:
Label:
text: 'Side C:'
font_size: sp(36)
Widget:
size_hint: (0.25, 1.0)
TextInput:
id: c
multiline: False
write_tab: False
text: ''
font_size: sp(24)
on_text: app.update()
Widget:
Widget:
BoxLayout:
orientation: 'horizontal'
Label:
text: app.classification
font_size: sp(36)
text_size: self.size
halign: 'center'
Widget:
size_hint: (0.0, 1.5)