Skip to content

Commit 6fd63e3

Browse files
committed
Better spacing for go button and save button
1 parent 54650c2 commit 6fd63e3

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

src/main/resources/blobsaver/blobsaver.fxml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<?import javafx.scene.layout.*?>
66
<HBox xmlns:fx="http://javafx.com/fxml/1" prefHeight="580.0" xmlns="http://javafx.com/javafx/8"
77
fx:controller="blobsaver.Controller">
8-
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="530.0" minWidth="450.0" prefHeight="580.0"
8+
<VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="530.0" prefHeight="580.0"
99
prefWidth="500.0">
1010
<MenuBar>
11-
<Menu mnemonicParsing="false" text="Options">
11+
<Menu mnemonicParsing="false" text="test">
1212
<MenuItem mnemonicParsing="false" onAction="#checkBlobs"
1313
text="Check for valid blobs..."/>
1414
<MenuItem mnemonicParsing="false" onAction="#checkForUpdates"
@@ -152,22 +152,19 @@
152152
<Button mnemonicParsing="false" onAction="#filePickerHandler" text="..."
153153
AnchorPane.rightAnchor="0.0"/>
154154
</AnchorPane>
155-
<HBox prefHeight="100.0" prefWidth="200.0">
155+
<HBox alignment="BOTTOM_CENTER" VBox.vgrow="ALWAYS">
156156
<VBox.margin>
157-
<Insets left="10.0" top="10.0"/>
157+
<Insets left="10.0" right="10.0"/>
158158
</VBox.margin>
159159
<Button fx:id="goButton" maxWidth="Infinity" mnemonicParsing="false" onAction="#go"
160160
prefWidth="500.0" text="Go">
161161
<HBox.margin>
162-
<Insets right="5.0"/>
162+
<Insets bottom="10.0"/>
163163
</HBox.margin>
164164
</Button>
165165
</HBox>
166166
</VBox>
167167
<VBox fx:id="presetVBox" prefHeight="580.0" prefWidth="180.0" style="-fx-background-color: white;">
168-
<HBox.margin>
169-
<Insets/>
170-
</HBox.margin>
171168
<padding>
172169
<Insets left="10.0" right="10.0"/>
173170
</padding>
@@ -231,11 +228,13 @@
231228
<Insets top="10.0"/>
232229
</VBox.margin>
233230
</Button>
234-
<Button fx:id="savePresetButton" maxWidth="Infinity" mnemonicParsing="false"
235-
onAction="#savePresetHandler" prefWidth="500.0" text="Save">
236-
<VBox.margin>
237-
<Insets top="161.0"/>
238-
</VBox.margin>
239-
</Button>
231+
<VBox alignment="BOTTOM_CENTER" VBox.vgrow="ALWAYS">
232+
<Button fx:id="savePresetButton" maxWidth="Infinity" mnemonicParsing="false"
233+
onAction="#savePresetHandler" prefWidth="500.0" text="Save">
234+
<VBox.margin>
235+
<Insets bottom="10.0"/>
236+
</VBox.margin>
237+
</Button>
238+
</VBox>
240239
</VBox>
241240
</HBox>

0 commit comments

Comments
 (0)