How to do it...

Add the following code just above the main event loop towards the bottom of the Python module:

GUI_LabelFrame_column_one.py

Running the code will result in the GUI looking as follows:

Uncomment line 111 and notice the different alignment of LabelFrame.

We can easily align the labels vertically by changing our code, as shown in the next screenshot:

Note that the only change we had to make was in the column and row numbering.

Now the GUI LabelFrame looks as follows:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.77.158