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 @@ + - + +