Select Git revision
triangle.kv
Forked from
SOFT Core / SOFT 161 and 162 / Buggy Triangle Classifier
Up to date with the upstream repository.
-
Brady James Garvin authoredBrady James Garvin authored
triangle.kv 1.57 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:
multiline: False
write_tab: False
text: app.a
font_size: sp(24)
on_text: app.a = self.text
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:
multiline: False
write_tab: False
text: app.b
font_size: sp(24)
on_text: app.b = self.text
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:
multiline: False
write_tab: False
text: app.c
font_size: sp(24)
on_text: app.c = self.text
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)