[wxPython-users] Font size of listctrl column headers on OS X
Robin Dunn
robin at alldunn.com
Thu Aug 2 13:01:49 PDT 2007
Jamie Bullock wrote:
> On Tue, 2007-07-31 at 12:13 -0700, Robin Dunn wrote:
>> Jamie Bullock wrote:
>>> Hi,
>>>
>>> If I instantiate a listctrl (LC_REPORT) widget on GNU/Linux, set the
>>> column names, populate some rows, and then change the font size, both
>>> the column headers and the rows expand vertically to accommodate the
>>> size of the font. On OS X, the rows expand vertically, but the column
>>> _headers_ stay fixed whilst the font expands, meaning that the font is
>>> 'cropped' inside the header cells.
>> The OS X column headers can only be drawn at the standard height, so the
>> listctrl doesn't allow them to be a non-standard height on OS X. If you
>> set the system option to use the native listctrl on OSX then it is smart
>> enough to leave the font of the headers alone and only change the font
>> for the body.
>>
>
> Thanks. That kind of works, but what I get now is the rows expanding
> vertically (to accommodate the font size), the header staying the same,
> but the font (text) itself staying the same size.
>
> Any more ideas?
Like I said, the OS X header control can't be drawn at any other height.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list