wxCheckListBox control and font size problem

Hello all,

I am experiencing the problem as described in this thread:

http://groups.google.com/group/wxpython-users/browse_thread/thread/7bf7a25d6fd5fa09/bc6090ffac13523f?lnk=gst&q=Checklistbox+font#bc6090ffac13523f

Basically, the wx.CheckListBox control changes to a different font
after appending items to the list. This is a somewhat random effect,
since it doesn't consistently happen in my program. Once the text has
changed, it stays at the larger font. I haven't tried using SetFont
to counteract the effect.

I am using MS Windows XP, python 2.6.5, wxpython 2.8.10.1 unicode.

Thanks,

Mike

···

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

On Windows the wx.CheckListBox is basically just the native ListBox widget placed into an owner-drawn mode, so perhaps there is a bug in the owner-drawing portion of the code. Please create a ticket for this issue at wxTrac. See wxTrac has been migrated to GitHub Issues - wxWidgets

···

On 4/23/10 1:16 PM, Mike wrote:

Hello all,

I am experiencing the problem as described in this thread:

http://groups.google.com/group/wxpython-users/browse_thread/thread/7bf7a25d6fd5fa09/bc6090ffac13523f?lnk=gst&q=Checklistbox+font#bc6090ffac13523f

Basically, the wx.CheckListBox control changes to a different font
after appending items to the list. This is a somewhat random effect,
since it doesn't consistently happen in my program. Once the text has
changed, it stays at the larger font. I haven't tried using SetFont
to counteract the effect.

I am using MS Windows XP, python 2.6.5, wxpython 2.8.10.1 unicode.

--
Robin Dunn
Software Craftsman

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Manually setting the font (ie, SetFont) appears to solve the problem.
Still, the font
should probably not change by itself. I've created a low priority
ticket on the wiki.

Thanks for your advice.

Mike

···

On Apr 26, 11:26 am, Robin Dunn <ro...@alldunn.com> wrote:

On 4/23/10 1:16 PM, Mike wrote:

> Hello all,

> I am experiencing the problem as described in this thread:

>http://groups.google.com/group/wxpython-users/browse_thread/thread/7b

> Basically, the wx.CheckListBox control changes to a different font
> after appending items to the list. This is a somewhat random effect,
> since it doesn't consistently happen in my program. Once the text has
> changed, it stays at the larger font. I haven't tried using SetFont
> to counteract the effect.

> I am using MS Windows XP, python 2.6.5, wxpython 2.8.10.1 unicode.

On Windows the wx.CheckListBox is basically just the native ListBox
widget placed into an owner-drawn mode, so perhaps there is a bug in the
owner-drawing portion of the code. Please create a ticket for this
issue at wxTrac. Seehttp://trac.wxwidgets.org/wiki/HowToSubmitTicket

--
Robin Dunn
Software Craftsmanhttp://wxPython.org

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visithttp://groups.google.com/group/wxPython-users?hl=en

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en