Aui notebook problem with glossy tabs

Hi everyone, I’ve got a problem with tabs in the AUI Notebook. I just
implemented a light on dark GTK theme. It seems like the glossy tabs
are trying to fade a gradient with light towards dark (see
attachement), on top of that it is using black text per default. I
assume this is a problem with wxWidgets core and not really anything
we care to do anything about here. So I started looking into
implementing with a simple look instead but notice the following in
the AUI sample code:

TODO - Notebook styles not currently supported; not SO important

if e_id = ID_NotebookArtGloss or
    e_id = ID_NotebookArtSimple
  Wx::message_box("AUI Notebook Art styles not currently supported

in wxRuby")
return
end

What is the status on this one, has it already been fixed already
maybe? If not what is the priority?

Cheers,

/Henrik

Henrik Sarvell wrote:

if e_id = ID_NotebookArtGloss or
    e_id = ID_NotebookArtSimple
  Wx::message_box("AUI Notebook Art styles not currently supported

in wxRuby")
return
end

What is the status on this one, has it already been fixed already
maybe? If not what is the priority?

As a a first step you could try the wxWidgets distribution AUI sample
and see how it looks with your theme. The AUI style switching should
work there and you could see whether the “simple” theme does indeed look
better.

As for wxRuby support for this: adding all the AuiTabArt classes is very
low priority - I’m not sure I even want to do it. But it would perhaps
be possible to add a method to AuiNoteBook that switches between the two
available simple/glossy themes.

alex

Alex F. wrote:

perhaps be possible to add a method to AuiNoteBook that switches
between the two available simple/glossy themes.

OK, to SVN head I’ve added two methods to Wx::AuiNotebook :
use_simple_art and use_glossy_art. These allow switching between the two
tab styles provided, with glossy the default.

Having tried it out the simple theme looks better on GTK I think, but
perhaps the glossy better on OS X, from memory.

alex