rounded buttons
This commit is contained in:
parent
1023de915f
commit
4a2100c82b
8
Main.py
8
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user