Changed Things
This commit is contained in:
parent
852f773515
commit
1ca75ba769
@ -178,7 +178,10 @@ public class Main extends Application {
|
||||
if(!settings_activeTab.getId().equals(n.lookup("#Settings-Mine-btn").getId())){ // Use id to identify layouts
|
||||
updateTabSelection(n.lookup("#Settings-Mine-btn"), TabType.SETTINGS);
|
||||
Node minecraftLayout = Tabs.switchTab("settings_minecraft", (Pane) n.lookup("#Settings-Pane"));
|
||||
Tabs.load("settings_minecraft").lookup("#minecraft-login-btn").setOnMouseClicked(event3 ->{
|
||||
System.out.println("Logging into minecraft");
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -1,15 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane id="pane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="370.0" prefWidth="750.0" stylesheets="@../style/default-theme.css" xmlns="http://javafx.com/javafx/8.0.92" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<Pane id="pane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="370.0" prefWidth="750.0" stylesheets="@../style/default-theme.css" xmlns="http://javafx.com/javafx/8.0.112-ea" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label id="lable" layoutX="22.0" layoutY="14.0" text="Minecraft Settings">
|
||||
<font>
|
||||
<Font name="Centaur" size="25.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label id="lable" layoutX="32.0" layoutY="77.0" text="Account:" />
|
||||
<Button id="minecraft-login-btn" layoutX="90.0" layoutY="71.0" mnemonicParsing="false" prefHeight="30.0" prefWidth="59.0" text="Login" />
|
||||
<Label id="login" layoutX="160.0" layoutY="78.0" text="Not logged in" />
|
||||
</children>
|
||||
</Pane>
|
||||
</Pane>
|
||||
|
@ -61,6 +61,29 @@
|
||||
-fx-text-fill: white;
|
||||
}
|
||||
|
||||
#login {
|
||||
-fx-text-fill: #950c14;
|
||||
}
|
||||
|
||||
#login:hover {
|
||||
-fx-text-fill: #ffffff;
|
||||
-fx-border-style: solid;
|
||||
-fx-border-color: #49000d;
|
||||
-fx-border-width: 0px 0px 2px 0px;
|
||||
}
|
||||
|
||||
#minecraft-login-btn {
|
||||
-fx-background-color: #393939;
|
||||
-fx-background-radius: 0em;
|
||||
-fx-text-fill: white;
|
||||
}
|
||||
|
||||
#minecraft-login-btn:hover {
|
||||
-fx-background-color: #ffffff;
|
||||
-fx-background-radius: 0em;
|
||||
-fx-text-fill: black;
|
||||
}
|
||||
|
||||
#Modpack-back {
|
||||
-fx-fill: #1d1d1d;
|
||||
-fx-text-fill: white;
|
||||
|
@ -61,6 +61,29 @@
|
||||
-fx-text-fill: white;
|
||||
}
|
||||
|
||||
#login {
|
||||
-fx-text-fill: #950c14;
|
||||
}
|
||||
|
||||
#login:hover {
|
||||
-fx-text-fill: #ffffff;
|
||||
-fx-border-style: solid;
|
||||
-fx-border-color: #49000d;
|
||||
-fx-border-width: 0px 0px 2px 0px;
|
||||
}
|
||||
|
||||
#minecraft-login-btn {
|
||||
-fx-background-color: #0a073b;
|
||||
-fx-background-radius: 0em;
|
||||
-fx-text-fill: white;
|
||||
}
|
||||
|
||||
#minecraft-login-btn:hover {
|
||||
-fx-background-color: #07061b;
|
||||
-fx-background-radius: 0em;
|
||||
-fx-text-fill: white;
|
||||
}
|
||||
|
||||
#Modpack-back {
|
||||
-fx-fill: #0a0e2e;
|
||||
-fx-text-fill: white;
|
||||
|
@ -61,6 +61,29 @@
|
||||
-fx-text-fill: black;
|
||||
}
|
||||
|
||||
#login {
|
||||
-fx-text-fill: #950c14;
|
||||
}
|
||||
|
||||
#login:hover {
|
||||
-fx-text-fill: black;
|
||||
-fx-border-style: solid;
|
||||
-fx-border-color: #49000d;
|
||||
-fx-border-width: 0px 0px 2px 0px;
|
||||
}
|
||||
|
||||
#minecraft-login-btn {
|
||||
-fx-background-color: #b8b8b8;
|
||||
-fx-background-radius: 0em;
|
||||
-fx-text-fill: black;
|
||||
}
|
||||
|
||||
#minecraft-login-btn:hover {
|
||||
-fx-background-color: #000000;
|
||||
-fx-background-radius: 0em;
|
||||
-fx-text-fill: white;
|
||||
}
|
||||
|
||||
#Modpack-back {
|
||||
-fx-fill: #c3c3c3;
|
||||
-fx-text-fill: black;
|
||||
|
Loading…
x
Reference in New Issue
Block a user