From 4a2100c82b9a8d643579f351073e0f628f082eb5 Mon Sep 17 00:00:00 2001 From: Cuptain Date: Fri, 21 Jun 2024 09:15:46 +1000 Subject: [PATCH] rounded buttons --- Main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Main.py b/Main.py index 29b1a57..daad5cf 100644 --- a/Main.py +++ b/Main.py @@ -64,7 +64,7 @@ def main(): # Tabs to seperate options from launching the game - guitabs = CTkTabview(master=app, bg_color="transparent") + guitabs = CTkTabview(master=app, bg_color="transparent", corner_radius=20) guitabs.pack(expand=True, fill='x', side="bottom", padx=0, pady=(20,0)) @@ -103,10 +103,10 @@ def main(): modpack_var = StringVar(value="N/A") #modpack_label = CTkLabel(master=guitabs.tab("Launcher"), text="Select Modpack:", font=("Impact", 30)) #modpack_label.pack() - modpack_selector = CTkOptionMenu(master=guitabs.tab("Launcher"), values=sorted_pack_selection, variable=modpack_var) + modpack_selector = CTkOptionMenu(master=guitabs.tab("Launcher"), values=sorted_pack_selection, variable=modpack_var, corner_radius=20) modpack_selector.set(options[0]) - select_button = CTkButton(master=guitabs.tab("Options"), text="Browse...", command=select_prism_instance_path) + select_button = CTkButton(master=guitabs.tab("Options"), text="Browse...", command=select_prism_instance_path, corner_radius=20) select_button.pack(pady=5) # Function to proceed with installation @@ -121,7 +121,7 @@ def main(): Backend.perform_installation(instance_name, prism_command, prism_instance_path, instance_id) # Button to start installation - install_button = CTkButton(master=guitabs.tab("Launcher"), text="Launch Minecraft", command=start_installation) + install_button = CTkButton(master=guitabs.tab("Launcher"), text="Launch Minecraft", command=start_installation, corner_radius=20) install_button.pack(pady=10) modpack_selector.pack(pady=20)