Tkinter Grid: How to position widgets so they are not stuck together

后端 未结 5 1063
不知归路
不知归路 2020-12-02 09:07

I\'m trying to create two Label widgets that are in the top left and top right corners of my test UI. The problem is that the widgets are stuck together and I\'d like there

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-02 09:37

    If you need to have full control on the placement of your gui component, try place layout; a highly manageable approach is to organize your components in several frame, each with grid or pack layout, and then organizing all those frames using place layout.

提交回复
热议问题