changing gui layout
This commit is contained in:
parent
0e8ea02be7
commit
deb9439237
6
Main.py
6
Main.py
@ -60,6 +60,10 @@ def main():
|
|||||||
set_appearance_mode("dark")
|
set_appearance_mode("dark")
|
||||||
set_default_color_theme("blue")
|
set_default_color_theme("blue")
|
||||||
|
|
||||||
|
#Add a frame for the tabs
|
||||||
|
tab_frame = CTkFrame(master=app)
|
||||||
|
tab_frame.pack()
|
||||||
|
|
||||||
#Title image
|
#Title image
|
||||||
|
|
||||||
titleimage = Image.open(Backend.resource_path("Title.png"))
|
titleimage = Image.open(Backend.resource_path("Title.png"))
|
||||||
@ -71,7 +75,7 @@ def main():
|
|||||||
# Tabs to seperate options from launching the game
|
# Tabs to seperate options from launching the game
|
||||||
|
|
||||||
guitabs = CTkTabview(master=app, bg_color="transparent", corner_radius=20)
|
guitabs = CTkTabview(master=app, bg_color="transparent", corner_radius=20)
|
||||||
guitabs.pack(expand=True, fill='both', side="bottom", padx=0, pady=(0))
|
guitabs.pack(expand=True, fill='y', padx=0, pady=(0), anchor="ne")
|
||||||
|
|
||||||
|
|
||||||
guitabs.add("Launcher")
|
guitabs.add("Launcher")
|
||||||
|
Loading…
Reference in New Issue
Block a user