From 1ca75ba7692b5f21fca66b9cbc6bf78482430933 Mon Sep 17 00:00:00 2001 From: Michael-Jouanneau Date: Thu, 17 Nov 2016 18:43:14 +0100 Subject: [PATCH] Changed Things --- src/Launcher/Main.java | 3 +++ src/assets/layout/settings_minecraft.fxml | 8 ++++++-- src/assets/style/dark-theme.css | 23 +++++++++++++++++++++++ src/assets/style/default-theme.css | 23 +++++++++++++++++++++++ src/assets/style/light-theme.css | 23 +++++++++++++++++++++++ 5 files changed, 78 insertions(+), 2 deletions(-) diff --git a/src/Launcher/Main.java b/src/Launcher/Main.java index 9a57319..292e3fb 100644 --- a/src/Launcher/Main.java +++ b/src/Launcher/Main.java @@ -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"); + }); } }); diff --git a/src/assets/layout/settings_minecraft.fxml b/src/assets/layout/settings_minecraft.fxml index aa1c3c0..991d2fe 100644 --- a/src/assets/layout/settings_minecraft.fxml +++ b/src/assets/layout/settings_minecraft.fxml @@ -1,15 +1,19 @@ + - + +