I currently have a window with two LabelPanes. Within the rightPane, I have three LabelFrames. When I resize the window, the bottom most LabelFrame gets larger but the top two remain the size i specified when setting their height. What I would like is for all three of them to uniformly grow when the window is resized in the Y axis. Is this possible?
import tkinter as tk
if __name__ == '__main__':
appHeight=720
aspectRatio=16/9
appWidth=int(appHeight*aspectRatio)
app=tk.Tk()
app.title("Title")
app.minsize(width=appWidth,height=appHeight)
#================================================================================
# Setup Panes
#================================================================================
#Create Left Pane for settings
leftPane = tk.PanedWindow(bd=4,relief='raised',bg='red')
leftPane.pack(fill=tk.BOTH,expand=1)
#Add Settings Frame to Pane
settingsFrame = tk.LabelFrame(leftPane,text='Signature Filters',padx=5,pady=5,width=int(appWidth/4))
leftPane.add(settingsFrame)
#Create Right Pane for charts
rightPane = tk.PanedWindow(leftPane,orient=tk.VERTICAL,bd=4,relief=tk.SUNKEN,bg='blue')
leftPane.add(rightPane)
#Add Depth Frame to Pane
depthFrame = tk.LabelFrame(rightPane,text='Depth Signature',padx=5,pady=5,height=int(appHeight/3))
rightPane.add(depthFrame)
#Add Velocity Frame to Pane
velocityFrame = tk.LabelFrame(rightPane,text='Velocity Signature',padx=5,pady=5,height=int(appHeight/3))
rightPane.add(velocityFrame)
#Add Depth Frame to Pane
currentFrame = tk.LabelFrame(rightPane,text='Current Signature',padx=5,pady=5,height=int(appHeight/3))
rightPane.add(currentFrame)
app.mainloop()