Skip to content
Snippets Groups Projects
Select Git revision
  • 5af7abb75a87146e58f9a4180cbbca630e1c705d
  • main default protected
2 results

triangle.kv

Blame
  • Forked from SOFT Core / SOFT 161 and 162 / Buggy Triangle Classifier
    Up to date with the upstream repository.
    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)