setting dimension of tkinter window code example
Example 1: python tkinter define window size
window = Tk()
#set window size
window.geometry("widthxheight")
Example 2: my_frame1 = Frame(my_notebook, width=500 height=500 bg="black")
my_frame1 = Frame(my_notebook, width=500 height=500 bg="black")