[wxPython-users] Font size of listctrl column headers on OS X

Jamie Bullock jamie at postlude.co.uk
Wed Aug 1 13:51:04 PDT 2007


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? 


Jamie

-- 
www.postlude.co.uk





More information about the wxpython-users mailing list