AuiDefaultTabArt gradient

I finally figured out how to control the color of AuiDefaultTabArt with SetDefaultColours.

Is there a way to disable the gradient on both the tab and the background surrounding the tabs?

OK, I found the source for AuiDefaultTabArt and found that I can control the colors by calling _background_top_colour and _background_bottom_colour.

Is this safe? I didn’t see these methods defined in the documentation so not sure if I should be calling them directly in my code.

···

On Monday, May 30, 2016 at 9:48:08 AM UTC-6, Neil Thornock wrote:

I finally figured out how to control the color of AuiDefaultTabArt with SetDefaultColours.

Is there a way to disable the gradient on both the tab and the background surrounding the tabs?

I do it in my app, but a bit differently. I don’t change them directly.
The AuiDefaultTabAr class lacks some customization methods, but IIRC it doesn’t hurt/break anything.
You could subclass AuiDefaultTabArt and add those methods yourself or submit a pull request on github as they ?maybe? should probably be added to the default class in my opinion.

···

On Monday, May 30, 2016 at 11:42:58 AM UTC-5, Neil Thornock wrote:

OK, I found the source for AuiDefaultTabArt and found that I can control the colors by calling _background_top_colour and _background_bottom_colour.

Is this safe? I didn’t see these methods defined in the documentation so not sure if I should be calling them directly in my code.

On Monday, May 30, 2016 at 9:48:08 AM UTC-6, Neil Thornock wrote:

I finally figured out how to control the color of AuiDefaultTabArt with SetDefaultColours.

Is there a way to disable the gradient on both the tab and the background surrounding the tabs?