In my last post, I created a generic form in wxPython using only wx.BoxSizers for automatic sizing of my widgets. This time, I am adding on to my previous example using a wx.GridSizer to show the following:

  • How to right-align the icon and the label
  • How to vertically align the label with the text control
  • How to keep the text controls lined up no matter what the length of the labels are.

(more…)