Skip to content

Commit 655ce22

Browse files
author
mplieske
committed
changed font for all text elements in settings.fxml to Open Sans
1 parent 0df4ca4 commit 655ce22

File tree

1 file changed

+78
-24
lines changed

1 file changed

+78
-24
lines changed

src/main/resources/layouts/settings.fxml

Lines changed: 78 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,41 @@
2323
<children>
2424
<VBox spacing="10.0">
2525
<children>
26-
<VBox styleClass="menuBorder">
26+
<VBox prefHeight="185.0" prefWidth="257.0" styleClass="menuBorder">
2727
<children>
2828
<Group>
2929
<children>
3030
<VBox>
3131
<children>
3232
<Label text="Default">
3333
<font>
34-
<Font name="System Bold" size="12.0" />
34+
<Font name="Open Sans Bold" size="12.0" />
3535
</font>
3636
</Label>
3737
<HBox spacing="10.0">
3838
<children>
39-
<Label alignment="TOP_LEFT" contentDisplay="TOP" prefWidth="100.0" text="Background" />
39+
<Label alignment="TOP_LEFT" contentDisplay="TOP" prefWidth="100.0" text="Background">
40+
<font>
41+
<Font name="Open Sans Regular" size="12.0" />
42+
</font></Label>
4043
<ColorPicker fx:id="defaultBackgroundColor" />
41-
<Button fx:id="resetDefaultBackgroundButton" mnemonicParsing="false" text="Reset" />
44+
<Button fx:id="resetDefaultBackgroundButton" mnemonicParsing="false" text="Reset">
45+
<font>
46+
<Font name="Open Sans Regular" size="12.0" />
47+
</font></Button>
4248
</children>
4349
</HBox>
4450
<HBox spacing="10.0">
4551
<children>
46-
<Label alignment="TOP_LEFT" contentDisplay="TOP" prefWidth="100.0" text="Font" />
52+
<Label alignment="TOP_LEFT" contentDisplay="TOP" prefWidth="100.0" text="Font">
53+
<font>
54+
<Font name="Open Sans Regular" size="12.0" />
55+
</font></Label>
4756
<ColorPicker fx:id="defaultFontColor" />
48-
<Button fx:id="resetDefaultFontButton" mnemonicParsing="false" text="Reset" />
57+
<Button fx:id="resetDefaultFontButton" mnemonicParsing="false" text="Reset">
58+
<font>
59+
<Font name="Open Sans Regular" size="12.0" />
60+
</font></Button>
4961
</children>
5062
</HBox>
5163
</children>
@@ -58,21 +70,33 @@
5870
<children>
5971
<Label text="Hover">
6072
<font>
61-
<Font name="System Bold" size="12.0" />
73+
<Font name="Open Sans Bold" size="12.0" />
6274
</font>
6375
</Label>
6476
<HBox spacing="10.0">
6577
<children>
66-
<Label alignment="TOP_LEFT" contentDisplay="TOP" prefHeight="17.0" prefWidth="100.0" text="Background" />
78+
<Label alignment="TOP_LEFT" contentDisplay="TOP" prefHeight="17.0" prefWidth="100.0" text="Background">
79+
<font>
80+
<Font name="Open Sans Regular" size="12.0" />
81+
</font></Label>
6782
<ColorPicker fx:id="hoverBackgroundColor" />
68-
<Button fx:id="resetHoverBackgroundButton" mnemonicParsing="false" text="Reset" />
83+
<Button fx:id="resetHoverBackgroundButton" mnemonicParsing="false" text="Reset">
84+
<font>
85+
<Font name="Open Sans Regular" size="12.0" />
86+
</font></Button>
6987
</children>
7088
</HBox>
7189
<HBox spacing="10.0">
7290
<children>
73-
<Label alignment="TOP_LEFT" contentDisplay="TOP" prefWidth="100.0" text="Font" />
91+
<Label alignment="TOP_LEFT" contentDisplay="TOP" prefWidth="100.0" text="Font">
92+
<font>
93+
<Font name="Open Sans Regular" size="12.0" />
94+
</font></Label>
7495
<ColorPicker fx:id="hoverFontColor" />
75-
<Button fx:id="resetHoverFontButton" mnemonicParsing="false" text="Reset" />
96+
<Button fx:id="resetHoverFontButton" mnemonicParsing="false" text="Reset">
97+
<font>
98+
<Font name="Open Sans Regular" size="12.0" />
99+
</font></Button>
76100
</children>
77101
</HBox>
78102
</children>
@@ -85,14 +109,20 @@
85109
<children>
86110
<Label text="Taskbar">
87111
<font>
88-
<Font name="System Bold" size="12.0" />
112+
<Font name="Open Sans Bold" size="12.0" />
89113
</font>
90114
</Label>
91115
<HBox spacing="10.0">
92116
<children>
93-
<Label alignment="TOP_LEFT" contentDisplay="TOP" prefWidth="100.0" text="Font" />
117+
<Label alignment="TOP_LEFT" contentDisplay="TOP" prefWidth="100.0" text="Font">
118+
<font>
119+
<Font name="Open Sans Regular" size="12.0" />
120+
</font></Label>
94121
<ColorPicker fx:id="taskBarColor" />
95-
<Button fx:id="resetTaskBarFontButton" mnemonicParsing="false" text="Reset" />
122+
<Button fx:id="resetTaskBarFontButton" mnemonicParsing="false" text="Reset">
123+
<font>
124+
<Font name="Open Sans Regular" size="12.0" />
125+
</font></Button>
96126
</children>
97127
</HBox>
98128
</children>
@@ -111,19 +141,25 @@
111141
<children>
112142
<Label text="Layout">
113143
<font>
114-
<Font name="System Bold" size="12.0" />
144+
<Font name="Open Sans Bold" size="12.0" />
115145
</font>
116146
</Label>
117147
</children>
118148
</HBox>
119149
<HBox spacing="10.0">
120150
<children>
121-
<CheckBox fx:id="displayProjectsRightCheckBox" mnemonicParsing="false" text="Display projects on the right" />
151+
<CheckBox fx:id="displayProjectsRightCheckBox" mnemonicParsing="false" text="Display projects on the right">
152+
<font>
153+
<Font name="Open Sans Regular" size="12.0" />
154+
</font></CheckBox>
122155
</children>
123156
</HBox>
124157
<HBox layoutX="10.0" layoutY="27.0" spacing="10.0">
125158
<children>
126-
<CheckBox fx:id="hideProjectsOnMouseExitCheckBox" mnemonicParsing="false" text="Hide projects on mouse leave" />
159+
<CheckBox fx:id="hideProjectsOnMouseExitCheckBox" mnemonicParsing="false" text="Hide projects on mouse leave">
160+
<font>
161+
<Font name="Open Sans Regular" size="12.0" />
162+
</font></CheckBox>
127163
</children>
128164
</HBox>
129165
</children>
@@ -142,15 +178,21 @@
142178
<children>
143179
<Label fx:id="hotkeyLabel" text="Hotkey">
144180
<font>
145-
<Font name="System Bold" size="12.0" />
181+
<Font name="Open Sans Bold" size="12.0" />
146182
</font>
147183
</Label>
148-
<Label fx:id="globalKeyloggerLabel" alignment="TOP_LEFT" contentDisplay="TOP" disable="true" prefWidth="100.0" text="(global keylogger!)" />
184+
<Label fx:id="globalKeyloggerLabel" alignment="TOP_LEFT" contentDisplay="TOP" disable="true" prefHeight="17.0" prefWidth="106.0" text="(global keylogger!)">
185+
<font>
186+
<Font name="Open Sans Regular" size="12.0" />
187+
</font></Label>
149188
</children>
150189
</HBox>
151190
<HBox spacing="10.0">
152191
<children>
153-
<CheckBox fx:id="useHotkeyCheckBox" mnemonicParsing="false" text="Use Hotkey (Strg+Win)" />
192+
<CheckBox fx:id="useHotkeyCheckBox" mnemonicParsing="false" text="Use Hotkey (Strg+Win)">
193+
<font>
194+
<Font name="Open Sans Regular" size="12.0" />
195+
</font></CheckBox>
154196
</children>
155197
</HBox>
156198
</children>
@@ -161,9 +203,18 @@
161203
</VBox>
162204
<HBox spacing="10.0">
163205
<children>
164-
<Button fx:id="saveButton" mnemonicParsing="false" text="Save" />
165-
<Button fx:id="cancelButton" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" text="Cancel" />
166-
<Button fx:id="parseConfigButton" mnemonicParsing="false" text="parse config.xml" />
206+
<Button fx:id="saveButton" mnemonicParsing="false" text="Save">
207+
<font>
208+
<Font name="Open Sans Regular" size="12.0" />
209+
</font></Button>
210+
<Button fx:id="cancelButton" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" text="Cancel">
211+
<font>
212+
<Font name="Open Sans Regular" size="12.0" />
213+
</font></Button>
214+
<Button fx:id="parseConfigButton" mnemonicParsing="false" text="parse config.xml">
215+
<font>
216+
<Font name="Open Sans Regular" size="12.0" />
217+
</font></Button>
167218
</children>
168219
</HBox>
169220
</children>
@@ -173,6 +224,9 @@
173224
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
174225
</padding>
175226
</VBox>
176-
<Label fx:id="versionLabel" alignment="CENTER_RIGHT" disable="true" layoutX="260.0" layoutY="330.0" prefHeight="17.0" prefWidth="52.0" text="v1.0.0" />
227+
<Label fx:id="versionLabel" alignment="CENTER_RIGHT" disable="true" layoutX="260.0" layoutY="330.0" prefHeight="17.0" prefWidth="52.0" text="v1.0.0">
228+
<font>
229+
<Font name="Open Sans Regular" size="12.0" />
230+
</font></Label>
177231
</children>
178232
</AnchorPane>

0 commit comments

Comments
 (0)