By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,428 Members | 1,340 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,428 IT Pros & Developers. It's quick & easy.

Centering text in a wx.ListBox w/ wxPython

P: n/a
How do I center each item in the ListBox widget?
Also, is it possible to change the color of the selected item? right
now it uses the OSes color. I would like it to be consistant on every
machine.

Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 26 Jun 2005 22:34:31 -0700, "fooooo" <ph*****@yahoo.com> wrote:
How do I center each item in the ListBox widget?
Hm, I don't think, this is possilble.
Also, is it possible to change the color of the selected item? right
now it uses the OSes color. I would like it to be consistant on every
machine.

for example:
listbox.SetForegroundColour(wx.BLUE)

--
Franz Steinhaeusler
Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.