[wxruby-users] Aui notebook problem with glossy tabs

Alex Fenton alex at pressure.to
Sun Oct 26 05:25:17 EDT 2008


Henrik Sarvell wrote:
> 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?
>   

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


More information about the wxruby-users mailing list