order.kv 2.07 KB
Newer Older
Brady James Garvin's avatar
Brady James Garvin committed
1
2
3
BoxLayout:
    orientation: 'vertical'
    Label:
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
        text: 'Pastaeria'
        size_hint: (1,0.1)
    BoxLayout:
        orientation: 'horizontal'
        BoxLayout:
            orientation: 'vertical'
            Label:
                text: 'Pasta'
            BoxLayout:
                orientation: 'horizontal'
                Label:
                    text: 'Spaghetti'
                CheckBox:
                    id: spaghetti
                    on_active: app.update_total()
            BoxLayout:
                orientation: 'horizontal'
                Label:
                    text: 'Penne Mostaccioli'
                CheckBox:
                    id: penne_mostaccioli
                    on_active: app.update_total()
            BoxLayout:
                orientation: 'horizontal'
                Label:
                    text: 'Angel Hair'
                CheckBox:
                    id: angel_hair
                    on_active: app.update_total()
            BoxLayout:
                orientation: 'horizontal'
                Label:
                    text: 'Bow Tie'
                CheckBox:
                    id: bow_tie
                    on_active: app.update_total()
        BoxLayout:
            orientation: 'vertical'
            Label:
                text: 'Sauce'
            BoxLayout:
                orientation: 'horizontal'
                Label:
                    text: 'Meat'
                CheckBox:
                    id: meat
                    on_active: app.update_total()
            BoxLayout:
                orientation: 'horizontal'
                Label:
                    text: 'Marinara'
                CheckBox:
                    id: marinara
                    on_active: app.update_total()
            BoxLayout:
                orientation: 'horizontal'
                Label:
                    text: 'Alfredo'
                CheckBox:
                    id: alfredo
                    on_active: app.update_total()
    BoxLayout:
        orientation: 'vertical'
        Label:
            text: 'Total: ' + str(app.total)