diff --git a/Main.py b/Main.py index 9831788..c715d8f 100644 --- a/Main.py +++ b/Main.py @@ -55,27 +55,29 @@ def main(): # GUI for selecting Prism instance path app = CTk() app.attributes('-type', 'dialog') - app.geometry("500x400") + app.geometry("1280x720") app.title("FamilyCraft Launcher") set_appearance_mode("dark") set_default_color_theme("blue") + + #Title image + + titleimage = Image.open(Backend.resource_path("Title.png")) + titlelabel = CTkLabel(master=app, text="", image=CTkImage(titleimage, size=(700, 250))) + titlelabel.pack(expand=True, padx=0, pady=0) # Tabs to seperate options from launching the game guitabs = CTkTabview(master=app, bg_color="transparent", corner_radius=20) - guitabs.pack(expand=True, fill='x', side="bottom", padx=0, pady=(20,0)) + guitabs.pack(expand=True, fill='both', side="bottom", padx=0, pady=(0)) guitabs.add("Launcher") guitabs.add("Options") - #Title image - titleimage = Image.open(Backend.resource_path("Title.png")) - titlelabel = CTkLabel(master=app, text="", image=CTkImage(titleimage, size=(400, 150))) - titlelabel.pack(expand=True, padx=0, pady=0) #root.title("Select Prism Instance Path")