Label spacing on ItemsPicker

To my eyes the ItemsPicker needs a visual modification. Presently the labels float a long way above the list boxes they belong to. This comes about because there is a 10-pixel spacing added between the label and list boxes. Also the labels look odd to my eyes being left aligned rather than centered. See attached screenshot.

Would you consider a patch that brought the labels closer to the list boxes and centered them?

Caveat: I'm looking at this on Win7, wxPy 2.9.3.1 and haven't tried any other platforms.

Thanks,
Michael Hipp

ItemsPicker.jpg

Yes, although perhaps centering should be controlled by a style flag or by setting a property. I think having them left-justified may look better in some situations. Maybe allow right-justified too? You could add [G|S]etLabelAlignment methods that use the wx.ALIGN_ flags.

···

On 1/18/12 9:58 AM, Michael Hipp wrote:

To my eyes the ItemsPicker needs a visual modification. Presently the
labels float a long way above the list boxes they belong to. This comes
about because there is a 10-pixel spacing added between the label and
list boxes. Also the labels look odd to my eyes being left aligned
rather than centered. See attached screenshot.

Would you consider a patch that brought the labels closer to the list
boxes and centered them?

--
Robin Dunn
Software Craftsman