Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » CSS Stylesheet for Eclipse RCP APP(Applying CSS for MenuBar and Window title Bar)
CSS Stylesheet for Eclipse RCP APP [message #1709659] Wed, 30 September 2015 07:02 Go to next message
kirankumar B S is currently offline kirankumar B SFriend
Messages: 36
Registered: July 2015
Member
Hello,
I am working on Eclipse RCP Application. I am able to apply css for ToolBar,CoolBar,CBanner,CTabFolder,Composite,SHELL and SWT things like Label,Text.

But I am failing to apply css for Complete MenuBar, WindowTitle Bar/Workbench title Bar and want to change background color of 3.x views like Console.

below sample css i am using. Please suggest me the work around.

Composite Text {
background-color: white;
color: black;
}
Shell {
swt-background-mode: default;
background-color:blue;
}
MenuBar{
background-color: gray;
}

Menu[BAR] {
background-color: gray;
}


MenuItem {
background-color: red;
}

CoolBar,CBanner,CTabFolder{
background-color: gray;
}

Thanks,
Kiran.

Re: CSS Stylesheet for Eclipse RCP APP [message #1751922 is a reply to message #1709659] Mon, 16 January 2017 19:43 Go to previous message
Guido Grune is currently offline Guido GruneFriend
Messages: 2
Registered: January 2017
Junior Member
For the main toolbar try to style the MTrimBar.

.MTrimBar {
        background-color: #ffffff #d6d3ce;
}

Previous Topic:Get list of installed features in RCP app
Next Topic:IResourcePool for custom icons
Goto Forum:
  


Current Time: Fri Sep 18 15:11:30 GMT 2020

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

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

Back to the top