Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Change Editor Tabs background color
Change Editor Tabs background color [message #498272] Mon, 16 November 2009 09:55 Go to next message
Juan is currently offline JuanFriend
Messages: 29
Registered: July 2009
Junior Member
Hi everybody,

I need to change the default tabs color for the editors in my RCP app.
I nearly achieve it by creating a Theme (org.eclipse.ui.themes
extension) and setting the next color overrides:

-ACTIVE_TAB_BG_START: 255,0,0 (red for example)
-ACTIVE_TAB_BG_END: 255,0,0

-INACTIVE_TAB_BG_START: 0,255,0 (yellow for example)
-INACTIVE_TAB_BG_END: 0,255,0

-ACTIVE_NOFOCUS_TAB_BG_START: 0,0,255 (green for example)
-ACTIVE_NOFOCUS_TAB_BG_START: 0,0,255

But... What about the default tab color? I need by default all the tabs
have a color and not the default gray that currently have.

Does anybody have an idea about this?

Best Regards.
Re: Change Editor Tabs background color [message #498840 is a reply to message #498272] Wed, 18 November 2009 18:28 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 418
Registered: July 2009
Senior Member
Hi Juan,

Is it not defined by either active_tab OR inactive_tab? What do you mean by
default tab?

Best regards,

Wim


> Hi everybody,
>
> I need to change the default tabs color for the editors in my RCP app.
> I nearly achieve it by creating a Theme (org.eclipse.ui.themes
> extension) and setting the next color overrides:
>
> -ACTIVE_TAB_BG_START: 255,0,0 (red for example)
> -ACTIVE_TAB_BG_END: 255,0,0
>
> -INACTIVE_TAB_BG_START: 0,255,0 (yellow for example)
> -INACTIVE_TAB_BG_END: 0,255,0
>
> -ACTIVE_NOFOCUS_TAB_BG_START: 0,0,255 (green for example)
> -ACTIVE_NOFOCUS_TAB_BG_START: 0,0,255
>
> But... What about the default tab color? I need by default all the tabs
> have a color and not the default gray that currently have.
>
> Does anybody have an idea about this?
>
> Best Regards.
Previous Topic:ParentCategory in ExportWizard not recognized
Next Topic:Errors on preferences page
Goto Forum:
  


Current Time: Thu Dec 18 18:34:35 GMT 2014

Powered by FUDForum. Page generated in 0.03090 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software