From the course: Rapid Application Development with Python

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configure the listbox

Configure the listbox - Python Tutorial

From the course: Rapid Application Development with Python

Start my 1-month free trial

Configure the listbox

- [Instructor] We've constructed the skeleton of our application and we're now ready to start configuring the components on the main tab. Let's check the top static text widget. We're not going to refer to this in the code so we can leave its name as it is. But we do need to go into the widget tab, and change the label to system under audit. We'll also go to the layout tab and make sure that we have proportion set to zero. That stops WX Glade, applying automatic resizing. And I'll set the border to four. This makes sure the widgets aren't too close and that we have control over the additional spacing, okay, that's done. I'll set the proportion on the sizer to zero also. The next to do is the list box. Firstly, we'll change its name to lb system. We also want to click the size check box, and change the size to 200, 300. When you are doing this on your apps, you can precalculate the size of the widgets during the…

Contents