develop #18

Merged
Fabel merged 65 commits from develop into main 2024-12-05 11:16:03 +00:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit dbeb1511ec - Show all commits

View File

@ -1,6 +1,10 @@
import customtkinter import customtkinter
from views.mainScreen import MainFrame from views.mainScreen import MainFrame
from controller.mainFrameController import MainFrameController from controller.mainFrameController import MainFrameController
import os
from PIL import ImageTk
class Main(customtkinter.CTk): class Main(customtkinter.CTk):
def __init__(self) -> None: def __init__(self) -> None:
@ -9,7 +13,10 @@ class Main(customtkinter.CTk):
self.grid_rowconfigure(0, weight=1) self.grid_rowconfigure(0, weight=1)
self.grid_columnconfigure(0, weight=1) self.grid_columnconfigure(0, weight=1)
self.iconbitmap("src/ui/logo.png") self.iconpath = ImageTk.PhotoImage(file=os.path.join("src/ui","logo.png"))
self.wm_iconbitmap()
self.iconphoto(False, self.iconpath)
main_frame = MainFrame(self) main_frame = MainFrame(self)
main_frame.grid(row=0, column=0, padx=10, pady=10,sticky="nsew") main_frame.grid(row=0, column=0, padx=10, pady=10,sticky="nsew")
controller_mainframe = MainFrameController(main_frame) controller_mainframe = MainFrameController(main_frame)

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB