from tkinter import *
from tkinter import ttk
_root = Tk()
_F_Cassa = PanedWindow(_root, orient = HORIZONTAL)
_F_Cassa.pack(fill = BOTH, expand = True )
_F_Right = Frame(_F_Cassa)
_F_Left = Frame(_F_Cassa)
_F_Cassa.add(_F_Left)
_F_Cassa.add(_F_Right)
_L_NomeS = Button(_F_Left, text = "Sinistra")
_L_NomeS.grid(row = 0, column = 0)
_L_NomeD = Button(_F_Right, text = "Destra")
_L_NomeD.grid(row = 0, column = 0)
_root.mainloop()
I'm trying to build an app that consists in a PanedWindow widget that holds 2 frames (Left and Right) that are then populated with "standard" widgets like buttons, labels etc...the problem is that I get this result:
but what I want is something like this:
I tried to add width and height to the frames, but it didn't worked.
Just so everything is clear: i'm not using widgets from the ttk module, just the normal tk.


