@@ -77,19 +77,19 @@ class ToplevelWindow(customtkinter.CTkToplevel):
77
77
def __init__ (self , title ):
78
78
super ().__init__ ()
79
79
self .geometry ("1080x720" )
80
- self .grid_columnconfigure ((0 ,1 ), weight = 1 )
81
- self .grid_rowconfigure ((0 , 1 ), weight = 1 )
80
+ # self.grid_columnconfigure((0,1), weight=1)
81
+ # self.grid_rowconfigure((0, 1), weight=1)
82
82
# Back button for TOP_LEVEL WINDOW
83
83
self .back_Btn = customtkinter .CTkButton (self , text = "Back to Main" , command = self .backToMain )
84
- self .back_Btn .grid ( row = 0 , column = 0 , sticky = "ew" , columnspan = 2 )
84
+ self .back_Btn .pack ( )
85
85
# Instantiating Process Table Frame
86
86
self .Process_Table_Box = ProcessTableBox (self )
87
- self .Process_Table_Box .grid (row = 1 , column = 0 , sticky = "ew " )
88
-
87
+ # self.Process_Table_Box.grid(row=1, column=0, sticky="w ")
88
+ self . Process_Table_Box . pack ( side = customtkinter . LEFT , expand = True , fill = customtkinter . BOTH )
89
89
# Instantiating Process
90
90
self .Gantt_Chart_Box = GanttChartBox (self , title )
91
- self .Gantt_Chart_Box .grid ( row = 1 , column = 1 , sticky = "ew" )
92
-
91
+ self .Gantt_Chart_Box .pack ( side = customtkinter . RIGHT , expand = True , fill = customtkinter . BOTH )
92
+
93
93
94
94
def backToMain (self ):
95
95
self .destroy ()
0 commit comments