Improved launcher looks.
This commit is contained in:
parent
bf9ba6010e
commit
1f58b184b8
@ -13,13 +13,13 @@
|
||||
<?import javafx.scene.control.Hyperlink?>
|
||||
|
||||
<HBox xmlns:fx="http://javafx.com/fxml" stylesheets="@style.css" fx:id="window"
|
||||
prefWidth="640" prefHeight="380"
|
||||
prefWidth="1280" prefHeight="720"
|
||||
fx:controller="launcher.Launcher">
|
||||
|
||||
<children>
|
||||
|
||||
<VBox fx:id="sidepanel"
|
||||
prefWidth="120" prefHeight="380">
|
||||
prefWidth="200" prefHeight="1280">
|
||||
<children>
|
||||
|
||||
<ImageView fx:id="logo" fitHeight="120" fitWidth="120">
|
||||
@ -34,20 +34,21 @@
|
||||
<VBox fx:id="btn"
|
||||
prefWidth="120" prefHeight="260" spacing="5">
|
||||
<children>
|
||||
<Button text="Play" fx:id="btn_launch" onAction="#launch"
|
||||
prefWidth="110" prefHeight="15"/>
|
||||
<Label text="Resolution"/>
|
||||
<ChoiceBox fx:id="resolution" styleClass="res_box"/>
|
||||
<HBox fx:id="fs_box" styleClass="fs_box">
|
||||
<children>
|
||||
<Label text="Fullscreen"/>
|
||||
<Label text="Fullscreen "/>
|
||||
<CheckBox fx:id="fullscreen"/>
|
||||
</children>
|
||||
</HBox>
|
||||
<Button text="Play" fx:id="btn_launch" onAction="#launch"
|
||||
prefWidth="110" prefHeight="15"/>
|
||||
<Button text="Quit" fx:id="btn_quit" onAction="#quit"
|
||||
prefWidth="110" prefHeight="15"/>
|
||||
</children>
|
||||
</VBox>
|
||||
|
||||
<VBox fx:id="prgm"
|
||||
prefWidth="120">
|
||||
<children>
|
||||
|
@ -2,6 +2,11 @@
|
||||
-fx-background-color: #131320;
|
||||
}
|
||||
|
||||
Text, Label {
|
||||
-fx-fill: #f2f2f2;
|
||||
-fx-text-fill: #f2f2f2;
|
||||
}
|
||||
|
||||
/*************/
|
||||
/* Sidepanel */
|
||||
/*************/
|
||||
@ -27,6 +32,7 @@
|
||||
-fx-cursor: hand;
|
||||
-fx-border-radius: 0;
|
||||
-fx-border: none;
|
||||
-fx-font-weight: bold;
|
||||
}
|
||||
|
||||
#btn_launch {
|
||||
@ -39,26 +45,24 @@
|
||||
-fx-text-fill: #f2f2f2;
|
||||
}
|
||||
|
||||
/* Settings */
|
||||
|
||||
.res_box Label {
|
||||
-fx-fill: #000000;
|
||||
-fx-text-fill: #000000;
|
||||
}
|
||||
|
||||
.fs_box {
|
||||
-fx-alignment: center;
|
||||
}
|
||||
|
||||
/* Project details */
|
||||
#prgm {
|
||||
-fx-alignment: bottom-center;
|
||||
-fx-padding: 5;
|
||||
}
|
||||
|
||||
Text, Label {
|
||||
-fx-fill: #f2f2f2;
|
||||
-fx-text-fill: #f2f2f2;
|
||||
}
|
||||
|
||||
/* Link to project */
|
||||
Hyperlink:visited {
|
||||
-fx-text-fill: #0095c8;
|
||||
}
|
||||
|
||||
.res_box Label {
|
||||
-fx-fill: #000000 !important;
|
||||
-fx-text-fill: #000000 !important;
|
||||
}
|
||||
|
||||
.fs_box {
|
||||
-fx-alignment: center;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user