Please review the attached XRC. How can I right-align the text in one of the GridSizer rows? The wx.ALIGN_RIGHT for the last StaticText does not work as I’d expect it to, and I’m pretty sure this has worked for me before.
Please review the attached XRC. How can I right-align the text in one of the GridSizer rows? The wx.ALIGN_RIGHT for the last StaticText does not work as I'd expect it to, and I'm pretty sure this has worked for me before.
You are setting the wx.ALIGN_RIGHT style of the static text, but that just means to do the alignment of the text within the size of the widget itself. What you probably intended to do is to use the flag on the sizeritem, then it will align the whole widget within the space that the sizer has allocated to the item.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!