blob: 5c6fa5bc865dabdbaf853bd2f953edebb6c06d67 (
plain)
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
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
can_close="true"
can_dock="false"
can_minimize="false"
can_resize="false"
default_tab_group="1"
height="460"
help_topic="toybox"
layout="topleft"
legacy_header_height="18"
name="Toybox"
open_centered="true"
save_rect="true"
single_instance="true"
title="Customize toolbars"
width="650">
<text
follows="left|top"
font="SansSerifMedium"
halign="left"
height="20"
layout="topleft"
left="20"
length="1"
name="toybox label 1"
right="-20"
top="35"
type="string">
Add or remove buttons by dragging them to or from the toolbars.
</text>
<text
follows="left|top"
font="SansSerifMedium"
halign="left"
height="20"
layout="topleft"
left="20"
length="1"
name="toybox label 2"
right="-20"
top="55"
type="string">
Buttons will appear as shown or as icon-only depending on each toolbar's settings.
</text>
<toolbar
bottom="395"
button_display_mode="icons_with_text"
follows="all"
left="20"
button_icon_and_text.button_width.max="140"
button_icon_and_text.button_width.min="70"
name="toybox_toolbar"
pad_left="5"
pad_right="5"
pad_top="5"
pad_bottom="5"
pad_between="15"
read_only="true"
right="-20"
side="top"
top="85">
<button_panel background_visible="false" />
<button_icon_and_text image_unselected="PushButton_Off"
image_selected="PushButton_Off"
image_disabled_selected="PushButton_Disabled"
image_disabled="PushButton_Disabled"
label_color="ButtonLabelColor"
label_color_selected="ButtonLabelColor"
label_color_disabled="ButtonLabelDisabledColor"
label_color_disabled_selected="ButtonLabelDisabledColor"
image_color="ButtonImageColor"
image_color_disabled="ButtonImageColor"
flash_color="ButtonUnselectedFgColor"
hover_glow_amount="0.15"
display_pressed_state="false" />
</toolbar>
<panel
bevel_style="none"
border="true"
bottom="396"
follows="left|bottom|right"
left="20"
right="-20"
top="396" />
<button
follows="left|bottom|right"
height="23"
label="Restore defaults"
label_selected="Restore defaults"
layout="topleft"
left="260"
name="btn_restore_defaults"
top="415"
width="130">
<button.commit_callback function="Toybox.RestoreDefaults" />
</button>
</floater>
|