720p window

This commit is contained in:
Cuptain 2024-06-21 09:57:08 +10:00
parent b1c0d9662d
commit 0e8ea02be7

14
Main.py
View File

@ -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")