wxComboBox

Hi Michael

Is there a way to right justify (wx.ALIGN_RIGHT) the text in a drop down
combo box?

I have no idea as I have never tried it, but I don't think it's
possible if the underlying platform does not support it. What you
could do, is to try OwnerDrawnComboBox in wx.combo: you just need to
override the OnDrawItem method to draw the text on the right based on
the combo wx.Rect. You might take a look at the wxPython demo to see
an example.

HTH.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

ยทยทยท

On 8/21/07, Fisher, Michael L (BCO) wrote: