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