-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.json
38 lines (38 loc) · 1.34 KB
/
layout.json
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
38
{
"info": {"version": 1, "license": "GPL-2.1-or-later", "author": "Cyril Hrubis <[email protected]>"},
"layout": {
"rows": 2,
"align": "fill",
"rfill": "1, 0",
"widgets": [
{"align": "fill", "type": "pixmap", "uid": "board", "w": 100, "h": 100},
{
"type": "frame",
"title": "Settings",
"halign": "fill",
"widget": {
"cols": 14,
"halign": "fill",
"cfill": "14 * 0",
"cpadf": "1, 4*0, 1, 2*0, 1, 0, 1, 0, 1, 0, 1",
"widgets": [
{"type": "label", "text": "W"},
{"type": "spinner", "val": 50, "uid": "w", "on_event": "resize"},
{"type": "label", "text": "x"},
{"type": "label", "text": "H"},
{"type": "spinner", "val": 50, "uid": "h", "on_event": "resize"},
{"type": "button", "btype": "step_forward", "on_event": "step"},
{"type": "button", "btype": "play", "on_event": "run"},
{"type": "button", "btype": "pause", "on_event": "stop"},
{"type": "button", "btype": "clear", "on_event": "clear"},
{"type": "button", "btype": "randomize", "on_event": "randomize"},
{"type": "button", "btype": "zoom_in", "on_event": "zoom_in"},
{"type": "button", "btype": "zoom_out", "on_event": "zoom_out"},
{"type": "button", "btype": "save", "on_event": "file_save"},
{"type": "button", "btype": "open", "on_event": "file_open"}
]
}
}
]
}
}