Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to create this pattern in Tkinter GUI

I am trying to create this GUI in Tkinter. I have created a 2×2 grid of buttons using a grid. I want Radio Buttons to span equal to the width of 2×2 buttons or buttons to span the width of radio buttons. Since we can’t specify 1.5 (floats) as columns how to do this?

enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

There are a few possibilities. Arguably the simplest would be to create a 6×3 grid. The buttons at the top each occupy 3 columns, the buttons along the bottom each take up two columns.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading