how can I set width to a tk.Frame (post-initialization ?)
In other words, is there a member function to do it ? Sometheing like frame.setWidth()
thanks
how can I set width to a tk.Frame (post-initialization ?)
In other words, is there a member function to do it ? Sometheing like frame.setWidth()
thanks
frame.config(width=100)
Be aware that if there are children in the frame that are managed by grid or pack, your changes may have no effect. There are solutions to this, but it is rarely needed. Generally speaking you should let widgets be their natural size. If you do need to resize a frame that is a container of other widgets you need to turn "geometry propagation" off.