@@ -24,27 +24,27 @@ def __init__(self, parent=None):
2424
2525 container = QWidget ()
2626 layout = QVBoxLayout (container )
27- layout .setContentsMargins (30 , 30 , 30 , 30 )
28- layout .setSpacing (24 )
27+ layout .setContentsMargins (15 , 15 , 15 , 15 )
28+ layout .setSpacing (15 )
2929
3030 # Card 1: Authentication & Profile
3131 auth_card = QWidget ()
3232 auth_card .setObjectName ("card_container" )
3333 auth_layout = QVBoxLayout (auth_card )
34- auth_layout .setContentsMargins (24 , 24 , 24 , 24 )
35- auth_layout .setSpacing (16 )
34+ auth_layout .setContentsMargins (15 , 15 , 15 , 15 )
35+ auth_layout .setSpacing (10 )
3636
3737 self .auth_method_label = QLabel ("AUTHENTICATION" )
3838 self .auth_method_label .setObjectName ("section_label" )
3939 auth_layout .addWidget (self .auth_method_label )
4040
4141 self .auth_method_combo = QComboBox ()
4242 self .auth_method_combo .addItems (["Offline" , "Microsoft" ])
43- self .auth_method_combo .setMinimumHeight (55 )
43+ self .auth_method_combo .setMinimumHeight (42 )
4444 self .auth_method_combo .setToolTip ("Choose 'Microsoft' for online play or 'Offline' for local play." )
4545 auth_layout .addWidget (self .auth_method_combo )
4646
47- auth_layout .addSpacing (8 )
47+ auth_layout .addSpacing (4 )
4848
4949 self .username_label = QLabel ("USERNAME" )
5050 self .username_label .setObjectName ("section_label" )
@@ -53,12 +53,12 @@ def __init__(self, parent=None):
5353 self .username_input = AnimatedInput ()
5454 self .username_input .setPlaceholderText ("Enter your username" )
5555 self .username_input .setText (f"Player{ uuid .uuid4 ().hex [:6 ]} " )
56- self .username_input .setMinimumHeight (55 )
56+ self .username_input .setMinimumHeight (42 )
5757 self .username_input .setToolTip ("Enter the username you want to use in-game (Offline mode only)." )
5858 auth_layout .addWidget (self .username_input )
5959
6060 self .microsoft_login_button = AnimatedButton ("Login with Microsoft" )
61- self .microsoft_login_button .setMinimumHeight (55 )
61+ self .microsoft_login_button .setMinimumHeight (42 )
6262 self .microsoft_login_button .setToolTip ("Sign in with your Microsoft account to play online." )
6363 auth_layout .addWidget (self .microsoft_login_button )
6464
@@ -68,36 +68,36 @@ def __init__(self, parent=None):
6868 config_card = QWidget ()
6969 config_card .setObjectName ("card_container" )
7070 config_layout = QVBoxLayout (config_card )
71- config_layout .setContentsMargins (24 , 24 , 24 , 24 )
72- config_layout .setSpacing (16 )
71+ config_layout .setContentsMargins (15 , 15 , 15 , 15 )
72+ config_layout .setSpacing (10 )
7373
7474 version_label = QLabel ("MINECRAFT VERSION" )
7575 version_label .setObjectName ("section_label" )
7676 config_layout .addWidget (version_label )
7777
7878 self .version_combo = QComboBox ()
7979 self .version_combo .setPlaceholderText ("Loading versions..." )
80- self .version_combo .setMinimumHeight (55 )
80+ self .version_combo .setMinimumHeight (42 )
8181 self .version_combo .setToolTip ("Select the Minecraft version to launch." )
8282 config_layout .addWidget (self .version_combo )
8383
84- config_layout .addSpacing (8 )
84+ config_layout .addSpacing (4 )
8585
8686 mod_layout = QHBoxLayout ()
87- mod_layout .setSpacing (16 )
87+ mod_layout .setSpacing (12 )
8888
8989 mod_loader_container = QWidget ()
9090 mod_loader_layout = QVBoxLayout (mod_loader_container )
9191 mod_loader_layout .setContentsMargins (0 , 0 , 0 , 0 )
92- mod_loader_layout .setSpacing (6 )
92+ mod_loader_layout .setSpacing (4 )
9393
9494 mod_loader_label = QLabel ("MOD LOADER" )
9595 mod_loader_label .setObjectName ("section_label" )
9696 mod_loader_layout .addWidget (mod_loader_label )
9797
9898 self .mod_loader_combo = QComboBox ()
9999 self .mod_loader_combo .addItems (["Vanilla" , "Fabric" , "Forge" , "NeoForge" , "Quilt" ])
100- self .mod_loader_combo .setMinimumHeight (55 )
100+ self .mod_loader_combo .setMinimumHeight (42 )
101101 self .mod_loader_combo .setToolTip ("Choose the mod loader (e.g., Fabric, Forge) or use Vanilla." )
102102 mod_loader_layout .addWidget (self .mod_loader_combo )
103103
@@ -106,15 +106,15 @@ def __init__(self, parent=None):
106106 mod_btn_container = QWidget ()
107107 mod_btn_layout = QVBoxLayout (mod_btn_container )
108108 mod_btn_layout .setContentsMargins (0 , 0 , 0 , 0 )
109- mod_btn_layout .setSpacing (6 )
109+ mod_btn_layout .setSpacing (4 )
110110
111111 mod_btn_label = QLabel (" " ) # Spacer for alignment
112112 mod_btn_label .setObjectName ("section_label" )
113113 mod_btn_layout .addWidget (mod_btn_label )
114114
115115 self .mod_manager_button = AnimatedButton ("Manage Mods" , is_secondary = True )
116116 self .mod_manager_button .setCursor (Qt .CursorShape .PointingHandCursor )
117- self .mod_manager_button .setMinimumHeight (55 )
117+ self .mod_manager_button .setMinimumHeight (42 )
118118 self .mod_manager_button .setToolTip ("Open the Mod Manager to add or remove mods." )
119119 mod_btn_layout .addWidget (self .mod_manager_button )
120120
@@ -130,14 +130,14 @@ def __init__(self, parent=None):
130130 launch_area = QWidget ()
131131 launch_layout = QVBoxLayout (launch_area )
132132 launch_layout .setContentsMargins (0 , 0 , 0 , 0 )
133- launch_layout .setSpacing (12 )
133+ launch_layout .setSpacing (8 )
134134
135135 self .progress_bar = QProgressBar ()
136136 self .progress_bar .setRange (0 , 1 )
137137 self .progress_bar .setValue (0 )
138138 self .progress_bar .setTextVisible (True )
139139 self .progress_bar .setFormat ("%p%" )
140- self .progress_bar .setMinimumHeight (16 )
140+ self .progress_bar .setMinimumHeight (12 )
141141 # Hide progress bar until we need it, or keep it visible but very thin
142142 launch_layout .addWidget (self .progress_bar )
143143
@@ -147,8 +147,8 @@ def __init__(self, parent=None):
147147 launch_layout .addWidget (self .status_label )
148148
149149 self .launch_button = AnimatedButton ("🚀 LAUNCH GAME" )
150- self .launch_button .setMinimumHeight (70 ) # Taller primary CTA
151- self .launch_button .setStyleSheet ("font-size: 18px ; font-weight: 800; letter-spacing: 1px ;" ) # Overrides will be added for scale
150+ self .launch_button .setMinimumHeight (55 ) # Taller primary CTA but more compact than 70
151+ self .launch_button .setStyleSheet ("font-size: 16px ; font-weight: 800; letter-spacing: 0.5px ;" ) # Overrides will be added for scale
152152 self .launch_button .setToolTip ("Start Minecraft with the selected configuration." )
153153 launch_layout .addWidget (self .launch_button )
154154
0 commit comments