Resizing header in ListCtrl

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?

wx-test7.py (1.58 KB)

···

--
Jeffrey Barish

The headers stretch on windows 2k. What platform are you using?

- Josiah

···

Jeffrey Barish <jeff_barish@earthlink.net> 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?

Seem to stretch just fine too on Linux with Debian "testing" libraries for GTK
and wxPython 2.6.1

Horst

···

On Sat, 11 Feb 2006 16:07, Josiah Carlson 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?

The headers stretch on windows 2k. What platform are you using?

Horst Herb wrote:

···

On Sat, 11 Feb 2006 16:07, Josiah Carlson 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?

The headers stretch on windows 2k. What platform are you using?

Seem to stretch just fine too on Linux with Debian "testing" libraries for
GTK and wxPython 2.6.1

Horst

Interesting. Thank you both for trying the program on different platforms.
I am on Windows XP running wxPython 2.6.1.0 on Python 2.3.5. I attached a
jpg of the program running on my platform. I presume that it looks
different from what you see.
--
Jeffrey Barish

Jeffrey Barish wrote:

Horst Herb 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?

The headers stretch on windows 2k. What platform are you using?

Seem to stretch just fine too on Linux with Debian "testing" libraries for
GTK and wxPython 2.6.1

Horst

Interesting. Thank you both for trying the program on different platforms. I am on Windows XP running wxPython 2.6.1.0 on Python 2.3.5. I attached a
jpg of the program running on my platform. I presume that it looks
different from what you see.

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"

···

On Sat, 11 Feb 2006 16:07, Josiah Carlson wrote:

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

Robin Dunn wrote:

Jeffrey Barish wrote:

Horst Herb 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?

The headers stretch on windows 2k. What platform are you using?

Seem to stretch just fine too on Linux with Debian "testing" libraries
for GTK and wxPython 2.6.1

Horst

Interesting. Thank you both for trying the program on different
platforms.
I am on Windows XP running wxPython 2.6.1.0 on Python 2.3.5. I attached
a
jpg of the program running on my platform. I presume that it looks
different from what you see.

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"

The test did correct the problem. I submitted the bug report.

···

On Sat, 11 Feb 2006 16:07, Josiah Carlson wrote:

--
Jeffrey Barish

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? Is a correction
for the bug in the works?

Jeffrey Barish wrote:

Robin Dunn <robin <at> alldunn.com> writes:

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?

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.

···

On Sat, 11 Feb 2006 03:59, Jeffrey Barish wrote:

On Sat, 11 Feb 2006 18:52, Robin Dunn wrote:

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

Robin Dunn wrote:

Jeffrey Barish wrote:

Robin Dunn <robin <at> alldunn.com> writes:

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?

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.

Yes, I entered the bug report back in February.

···

On Sat, 11 Feb 2006 03:59, Jeffrey Barish wrote:

On Sat, 11 Feb 2006 18:52, Robin Dunn wrote:

--
Jeffrey Barish

Robin Dunn wrote:

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.

One possibility might be to use a smaller font for the column headers than I
use for the contents of the list control. That way, the column headers
would not need to resize. Is there a way to do that?

···

--
Jeffrey Barish

Jeffrey Barish wrote:

Robin Dunn wrote:

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.

One possibility might be to use a smaller font for the column headers than I
use for the contents of the list control. That way, the column headers
would not need to resize. Is there a way to do that?

No.

···

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