diff --git a/src/Launcher/Main.java b/src/Launcher/Main.java
index d0da58e..a3a2ac8 100644
--- a/src/Launcher/Main.java
+++ b/src/Launcher/Main.java
@@ -69,7 +69,7 @@ public class Main extends Application {
private PasswordField Password_minecraft;
Node activeTab, settings_activeTab;
private Label dialog_changer;
- private CheckBox RAM_Default;
+ private CheckBox RAM_Default, Minimized_window_minecraft_launch;
private Slider RAM_slider;
Async stringUpdater;
@@ -220,10 +220,15 @@ public class Main extends Application {
});
});
- RAM_Default = (CheckBox) Tabs.load("settings_minecraft").lookup("#RAM-Default");
- RAM_slider = (Slider) Tabs.load("settings_minecraft").lookup("#RAM-slider");
+ Node Minecraft_settings = Tabs.load("settings_minecraft");
+
+ RAM_Default = (CheckBox) Minecraft_settings.lookup("#RAM-Default");
+ RAM_slider = (Slider) Minecraft_settings.lookup("#RAM-slider");
+ Minimized_window_minecraft_launch = (CheckBox) Minecraft_settings.lookup("#Minimized_window_minecraft_launch");
+
RAM_slider.setDisable(true);
RAM_Default.setSelected(true);
+ Minimized_window_minecraft_launch.setSelected(true);
}
});
diff --git a/src/assets/layout/settings_generic.fxml b/src/assets/layout/settings_generic.fxml
index 03d1e37..f559cd2 100644
--- a/src/assets/layout/settings_generic.fxml
+++ b/src/assets/layout/settings_generic.fxml
@@ -31,12 +31,12 @@
-
+
-
+
diff --git a/src/assets/style/dark-theme.css b/src/assets/style/dark-theme.css
index 2c19ecb..cd7117f 100644
--- a/src/assets/style/dark-theme.css
+++ b/src/assets/style/dark-theme.css
@@ -57,7 +57,7 @@
-fx-text-fill: black;
}
-#lable, #RAM-Default, #RAM-slider {
+#lable, #RAM-Default, #RAM-slider, #Minimized_window_minecraft_launch, #Close_window_minecraft_launch {
-fx-text-fill: white;
}
diff --git a/src/assets/style/default-theme.css b/src/assets/style/default-theme.css
index b2e2de4..f9c3b0b 100644
--- a/src/assets/style/default-theme.css
+++ b/src/assets/style/default-theme.css
@@ -57,7 +57,7 @@
-fx-text-fill: black;
}
-#lable, #RAM-Default, #RAM-slider {
+#lable, #RAM-Default, #RAM-slider, #Minimized_window_minecraft_launch, #Close_window_minecraft_launch {
-fx-text-fill: white;
}
diff --git a/src/assets/style/light-theme.css b/src/assets/style/light-theme.css
index 75999d2..1613435 100644
--- a/src/assets/style/light-theme.css
+++ b/src/assets/style/light-theme.css
@@ -57,7 +57,7 @@
-fx-text-fill: black;
}
-#lable, #RAM-Default, #RAM-slider {
+#lable, #RAM-Default, #RAM-slider, #Minimized_window_minecraft_launch, #Close_window_minecraft_launch {
-fx-text-fill: black;
}