diff --git a/Main.py b/Main.py index 5a1754f..4f7bfa2 100644 --- a/Main.py +++ b/Main.py @@ -56,27 +56,29 @@ def main(): app = CTk() if os.name == 'posix': 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")