Introduction
Understanding how to use various controls and putting them to work in your application is just part of the equation in developing a user interface. The remaining part is being able to put the controls together in a functional layout on screen. The standard user interface on a computer is a two-dimensional plane of various rectangles being positioned and sized upon it.
A window can be organized using a static positioning of controls upon the two-dimensional plane, but what happens when the application is running on a different system where the screen resolution may be different or the native controls are shaped or sized slightly differently? Due to these potential issues and many others, avoiding the use of static layouts can be very advantageous. The solution, and the alternative, is to use the Sizer system in wxPython to create dynamic and flexible window layouts that can be adjusted according to changes. Sizers are a type of helper class that all container windows can use to...