Notebook style wx.NB_LEFT and windows themes

Hey,

I've just moved to wxPython from the Qt framework, and my first bump
was into the tab styles when aligned to the left. I've read that
windows themes won't work with the wx.NB_LEFT style ( i'm using
windows 7 ), but are there any plans to fix this in the future or is
there a tweak to make it work ?

Thanks.

Alexandru Pana wrote:

Hey,

I've just moved to wxPython from the Qt framework, and my first bump
was into the tab styles when aligned to the left. I've read that
windows themes won't work with the wx.NB_LEFT style ( i'm using
windows 7 ), but are there any plans to fix this in the future or is
there a tweak to make it work ?

It has a good workaround currently (themes are disabled if non-TOP style is given) so I don't think anybody has looked at the problem since then. IIRC it's been checked on Vista and it was still a problem there, but I don't think anybody has tried on Windows 7 yet. Basically the problem is that the theme always draws the tabs as if they were at the top, making them look silly and way out of place on any other side. You could literally take a screen-shot of the tabs at the top, move them to the bottom in an image editor, and that's that they would look like.

···

--
Robin Dunn
Software Craftsman

Am I missing something? What IS this "good workaround" of which you
speak?

- Mike

···

On Aug 19, 1:48 pm, Robin Dunn <ro...@alldunn.com> wrote:

Alexandru Pana wrote:
> Hey,

> I've just moved to wxPython from the Qt framework, and my first bump
> was into the tab styles when aligned to the left. I've read that
> windows themes won't work with the wx.NB_LEFT style ( i'm using
> windows 7 ), but are there any plans to fix this in the future or is
> there a tweak to make it work ?

It has a good workaround currently (themes are disabled if non-TOP style
is given) so I don't think anybody has looked at the problem since then.
IIRC it's been checked on Vista and it was still a problem there,
but I don't think anybody has tried on Windows 7 yet. Basically the
problem is that the theme always draws the tabs as if they were at the
top, making them look silly and way out of place on any other side.
You could literally take a screen-shot of the tabs at the top, move them
to the bottom in an image editor, and that's that they would look like.

--
Robin Dunn
Software Craftsmanhttp://wxPython.org

Mike Driscoll wrote:

Alexandru Pana wrote:

Hey,
I've just moved to wxPython from the Qt framework, and my first bump
was into the tab styles when aligned to the left. I've read that
windows themes won't work with the wx.NB_LEFT style ( i'm using
windows 7 ), but are there any plans to fix this in the future or is
there a tweak to make it work ?

It has a good workaround currently (themes are disabled if non-TOP style
is given) so I don't think anybody has looked at the problem since then.
     IIRC it's been checked on Vista and it was still a problem there,
but I don't think anybody has tried on Windows 7 yet. Basically the
problem is that the theme always draws the tabs as if they were at the
top, making them look silly and way out of place on any other side.
You could literally take a screen-shot of the tabs at the top, move them
to the bottom in an image editor, and that's that they would look like.

Am I missing something? What IS this "good workaround" of which you
speak?

It turns off the use of themes for the notebook if you specify anything but wx.NB_TOP. It may not look as nice but at least it is allowing the tabs to be somewhere other than the top as the programmer intended.

···

On Aug 19, 1:48 pm, Robin Dunn <ro...@alldunn.com> wrote:

--
Robin Dunn
Software Craftsman