[wxPython-users] Re: Resizing header in ListCtrl

Robin Dunn robin at alldunn.com
Mon Jun 19 14:44:36 PDT 2006


Jeffrey Barish wrote:
> Robin Dunn <robin <at> alldunn.com> writes:
> 
>> On Sat, 11 Feb 2006 03:59, Jeffrey Barish wrote:
>> Consider the attached program.  All the controls scale correctly to
>> accommodate a larger fontsize except for the column headers in the list
>> control.  Is there something else I am supposed to do to get the headers to
>> stretch vertically?  Is there a way to specify a fontsize for the text in
>> the headers that is different from the fontsize for the text in the list?
>>
>>> On Sat, 11 Feb 2006 18:52, Robin Dunn wrote:
>>> It's a problem with the themable version of the common controls. As a 
>>> test if you remove your python manifest file and run again then you will 
>>> use the old version of the common controls and the headers will resize 
>>> vertically as needed.  Please enter a bug report about this with a 
>>> category of "wxMSW Specific"
>>>
> Deleting the manifest does correct this problem, but it also changes other
> things in the display (for example, margins in list controls and the way
> BitmapButtons display when they are disabled).  I am to a point now where it is
> getting difficult to adjust the code based on the existence of the manifest.  Is
> there some other workaround for the header resizing problem? 

I didn't suggest it as a workaround, merely a way to verify that the 
source of the bug was the new themeable controls.

> Is a correction
> for the bug in the works?

Not that I know of.  Have you entered a bug report about it yet?  BTW, 
my guess is that it is a Microsoft bug, but we might be able to find a 
workaround in wxWidgets for it.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list