Noob question: Is there a way to set the font used by the text control
part of a combobox? How about for the choices in the drop down list?
Hello Roger,
I don’t think you can assign different fonts for every choice in the menu, but surely you can change the whole font of the combobox by doing something like:
MyComboBox.SetFont(wx.Font(10, wx.SWISS, wx.NORMAL, wx.BOLD, False, “Verdana”))
or whatever font you like. If you want a more customizable combobox, you can try to use ExtendedChoice at:
http://xoomer.virgilio.it/infinity77/eng/freeware.html#extendedchoice
Or
http://sigmacore.net/andrea/?page_id=2 => ExtendedChoice
It’s quite a long time that I don’t review the code (it had some repainting problem), but it may be useful.
Andrea.
···
On 5/11/06, Roger Mayes roger@imr-net.com wrote:
Noob question: Is there a way to set the font used by the text control
part of a combobox? How about for the choices in the drop down list?
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
–
“Imagination Is The Only Weapon In The War Against Reality.”