CheckListBox and font size

Jeffrey Barish jeff_barish at earthlink.net
Fri Oct 20 15:14:49 PDT 2006


Robin Dunn wrote:

> Jeffrey Barish wrote:
>> If I increase the size of the font in a CheckListBox e.g. with
>> 
>> clb.SetFont(wx.Font(16, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0,
>>         "MS Shell Dlg 2"))
>> 
>> the spacing of the lines in the CheckListBox does not increase to
>> accommodate the larger font so the lines overlap.  Is there a way to get
>> the lines spaced correctly?
> 
> I would expect it to happen automatically.  Which platform and version
> are you using?
> 
MS Windows XP.  wxPython version 2.6.3.2.

The attached program illustrates the problem.
-- 
Jeffrey Barish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wx-test22.py
Type: application/x-python
Size: 766 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20061020/80b0a46c/wx-test22.bin


More information about the wxpython-users mailing list