-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathradio.kv
More file actions
37 lines (31 loc) · 687 Bytes
/
radio.kv
File metadata and controls
37 lines (31 loc) · 687 Bytes
1
2
3
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
<MyLayout>
BoxLayout:
orientation: "vertical"
size: root.width, root.height
Label:
text: "Select Pizza Toppings"
font_size:32
GridLayout:
cols:2
Label:
text: "Pepperoni"
font_size:20
CheckBox:
group: "pizza_toppings"
on_active: root.checkbox_click(self, self.active, "Pepperoni")
Label:
text: "Cheese"
font_size:20
CheckBox:
group: "pizza_toppings"
on_active: root.checkbox_click(self, self.active, "Cheese")
Label:
text: "Mushroom"
font_size:20
CheckBox:
group: "pizza_topping"
on_active: root.checkbox_click(self, self.active, "Mushroom")
Label:
id: output_label
text: ""
font_size:32