Skip to content

Commit 379b2fa

Browse files
committed
smol window and fixed font to arial
smol
1 parent 5c54967 commit 379b2fa

2 files changed

Lines changed: 63 additions & 54 deletions

File tree

src/main/java/net/hypercubemc/iris_installer/NewInstaller.form

Lines changed: 37 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@
1111
<Connection code="new ImageIcon(Objects.requireNonNull(Utils.class.getClassLoader().getResource(&quot;iris_profile_icon.png&quot;))).getImage()" type="code"/>
1212
</Property>
1313
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
14-
<Dimension value="[480, 640]"/>
14+
<Dimension value="[480, 550]"/>
1515
</Property>
1616
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
17-
<Dimension value="[480, 640]"/>
17+
<Dimension value="[480, 550]"/>
1818
</Property>
19+
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
20+
<Dimension value="[480, 550]"/>
21+
</Property>
22+
<Property name="resizable" type="boolean" value="false"/>
1923
</Properties>
2024
<SyntheticProperties>
2125
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
@@ -31,15 +35,15 @@
3135
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
3236
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
3337
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
34-
<AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,2,-103,0,0,1,-32"/>
38+
<AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,2,38,0,0,1,-32"/>
3539
</AuxValues>
3640

3741
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
3842
<SubComponents>
3943
<Component class="javax.swing.JLabel" name="irisInstallerLabel">
4044
<Properties>
4145
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
42-
<Font name="sansserif" size="36" style="0"/>
46+
<Font name="Arial" size="36" style="0"/>
4347
</Property>
4448
<Property name="horizontalAlignment" type="int" value="0"/>
4549
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
@@ -52,14 +56,14 @@
5256
</Properties>
5357
<Constraints>
5458
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
55-
<GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="80" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
59+
<GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="30" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
5660
</Constraint>
5761
</Constraints>
5862
</Component>
5963
<Component class="javax.swing.JLabel" name="gameVersionLabel">
6064
<Properties>
6165
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
62-
<Font name="sansserif" size="18" style="0"/>
66+
<Font name="Arial" size="16" style="0"/>
6367
</Property>
6468
<Property name="horizontalAlignment" type="int" value="0"/>
6569
<Property name="text" type="java.lang.String" value="Select game version:"/>
@@ -85,7 +89,7 @@
8589
<Component class="javax.swing.JLabel" name="outdatedText1">
8690
<Properties>
8791
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
88-
<Font name="sansserif" size="16" style="0"/>
92+
<Font name="Arial" size="16" style="0"/>
8993
</Property>
9094
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
9195
<Color blue="0" green="cc" red="ff" type="rgb"/>
@@ -112,7 +116,7 @@
112116
<Component class="javax.swing.JLabel" name="outdatedText2">
113117
<Properties>
114118
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
115-
<Font name="sansserif" size="16" style="0"/>
119+
<Font name="Arial" size="16" style="0"/>
116120
</Property>
117121
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
118122
<Color blue="0" green="cc" red="ff" type="rgb"/>
@@ -123,23 +127,17 @@
123127
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
124128
<Dimension value="[450, 21]"/>
125129
</Property>
126-
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
127-
<Dimension value="[350, 21]"/>
128-
</Property>
129-
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
130-
<Dimension value="[350, 21]"/>
131-
</Property>
132130
</Properties>
133131
<Constraints>
134132
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
135-
<GridBagConstraints gridX="1" gridY="5" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
133+
<GridBagConstraints gridX="1" gridY="5" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/>
136134
</Constraint>
137135
</Constraints>
138136
</Component>
139137
<Component class="javax.swing.JLabel" name="installationType">
140138
<Properties>
141139
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
142-
<Font name="sansserif" size="18" style="0"/>
140+
<Font name="Arial" size="16" style="0"/>
143141
</Property>
144142
<Property name="horizontalAlignment" type="int" value="0"/>
145143
<Property name="text" type="java.lang.String" value=" Installation type:"/>
@@ -150,14 +148,14 @@
150148
</Properties>
151149
<Constraints>
152150
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
153-
<GridBagConstraints gridX="1" gridY="6" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
151+
<GridBagConstraints gridX="1" gridY="6" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="12" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
154152
</Constraint>
155153
</Constraints>
156154
</Component>
157155
<Component class="javax.swing.JLabel" name="installationDirectory">
158156
<Properties>
159157
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
160-
<Font name="sansserif" size="18" style="0"/>
158+
<Font name="Arial" size="16" style="0"/>
161159
</Property>
162160
<Property name="horizontalAlignment" type="int" value="0"/>
163161
<Property name="text" type="java.lang.String" value="Installation directory:"/>
@@ -168,13 +166,10 @@
168166
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
169167
<Dimension value="[165, 24]"/>
170168
</Property>
171-
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
172-
<Dimension value="[164, 24]"/>
173-
</Property>
174169
</Properties>
175170
<Constraints>
176171
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
177-
<GridBagConstraints gridX="1" gridY="8" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
172+
<GridBagConstraints gridX="1" gridY="8" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="12" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
178173
</Constraint>
179174
</Constraints>
180175
</Component>
@@ -195,7 +190,7 @@
195190
<ComponentRef name="installType"/>
196191
</Property>
197192
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
198-
<Font name="sansserif" size="16" style="0"/>
193+
<Font name="Arial" size="16" style="0"/>
199194
</Property>
200195
<Property name="selected" type="boolean" value="true"/>
201196
<Property name="text" type="java.lang.String" value="Iris Install"/>
@@ -216,7 +211,7 @@
216211
<ComponentRef name="installType"/>
217212
</Property>
218213
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
219-
<Font name="sansserif" size="16" style="0"/>
214+
<Font name="Arial" size="16" style="0"/>
220215
</Property>
221216
<Property name="text" type="java.lang.String" value="Fabric Install"/>
222217
<Property name="toolTipText" type="java.lang.String" value="This installs Iris and Sodium alongside an installation of Fabric."/>
@@ -234,6 +229,9 @@
234229
</Container>
235230
<Component class="javax.swing.JComboBox" name="gameVersionList">
236231
<Properties>
232+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
233+
<Font name="Arial" size="14" style="0"/>
234+
</Property>
237235
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
238236
<StringArray count="4">
239237
<StringItem index="0" value="1.19"/>
@@ -267,7 +265,7 @@
267265
<Component class="javax.swing.JCheckBox" name="betaSelection">
268266
<Properties>
269267
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
270-
<Font name="sansserif" size="16" style="0"/>
268+
<Font name="Arial" size="16" style="0"/>
271269
</Property>
272270
<Property name="text" type="java.lang.String" value="Use beta version (not recommended)"/>
273271
</Properties>
@@ -279,6 +277,9 @@
279277
</Component>
280278
<Component class="javax.swing.JButton" name="directoryName">
281279
<Properties>
280+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
281+
<Font name="Arial" size="16" style="0"/>
282+
</Property>
282283
<Property name="label" type="java.lang.String" value="Directory Name"/>
283284
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
284285
<Dimension value="[300, 36]"/>
@@ -301,6 +302,9 @@
301302
</Component>
302303
<Component class="javax.swing.JProgressBar" name="progressBar">
303304
<Properties>
305+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
306+
<Font name="Arial" size="16" style="0"/>
307+
</Property>
304308
<Property name="alignmentX" type="float" value="0.0"/>
305309
<Property name="alignmentY" type="float" value="0.0"/>
306310
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
@@ -315,25 +319,26 @@
315319
</Properties>
316320
<Constraints>
317321
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
318-
<GridBagConstraints gridX="1" gridY="10" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="79" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
322+
<GridBagConstraints gridX="1" gridY="10" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="40" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
319323
</Constraint>
320324
</Constraints>
321325
</Component>
322326
<Component class="javax.swing.JButton" name="installButton">
323327
<Properties>
324328
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
325-
<Font name="sansserif" size="18" style="0"/>
329+
<Font name="Arial" size="16" style="0"/>
326330
</Property>
327331
<Property name="text" type="java.lang.String" value="Install"/>
332+
<Property name="toolTipText" type="java.lang.String" value=""/>
333+
<Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">
334+
<Insets value="[15, 60, 15, 60]"/>
335+
</Property>
328336
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
329-
<Dimension value="[170, 45]"/>
337+
<Dimension value="[300, 45]"/>
330338
</Property>
331339
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
332340
<Dimension value="[170, 45]"/>
333341
</Property>
334-
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
335-
<Dimension value="[170, 45]"/>
336-
</Property>
337342
</Properties>
338343
<Events>
339344
<EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="installButtonMouseClicked"/>
@@ -343,7 +348,7 @@
343348
</AuxValues>
344349
<Constraints>
345350
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
346-
<GridBagConstraints gridX="1" gridY="11" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="12" insetsLeft="0" insetsBottom="38" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
351+
<GridBagConstraints gridX="1" gridY="11" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="12" insetsLeft="0" insetsBottom="30" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
347352
</Constraint>
348353
</Constraints>
349354
</Component>

0 commit comments

Comments
 (0)