Skip to content
Snippets Groups Projects
Commit a9448373 authored by Dina's avatar Dina
Browse files

Changed Button width and height

parent 37c1f8b1
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,7 @@
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="500.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="org.example.OptionsScreen.OptionsScreenController">
<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="500.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/17.0.2-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.example.OptionsScreen.OptionsScreenController">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
......@@ -58,7 +57,7 @@
<Insets left="320.0" top="70.0" />
</GridPane.margin>
</RadioButton>
<Button mnemonicParsing="false" text="Play" GridPane.rowIndex="2" onAction="#openSnakeGame">
<Button mnemonicParsing="false" onAction="#openSnakeGame" prefHeight="50.0" prefWidth="80.0" text="Play" GridPane.rowIndex="2">
<GridPane.margin>
<Insets left="265.0" />
</GridPane.margin>
......
......@@ -18,7 +18,6 @@
.button:hover{
-fx-background-color: #395bae;
}
/* Component specific styles */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment