Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Theme
Theme [message #45916] Mon, 10 September 2007 17:10 Go to next message
Eclipse UserFriend
Originally posted by: paulo.b.abreu.criticalsoftware.com

Hi,

Is it possible to define two buttons with different styles in the same
theme file? Like CSS Classes.

For example if i use "button.background: 248, 248, 255" all the buttons
will have the same background color. But i need to specify one
color to button1 and a different color to button2.

Is there any documentation with all keys for the theme file?


Regards,
Paulo Abreu
Re: Theme [message #46451 is a reply to message #45916] Wed, 12 September 2007 12:41 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi Paulo,

this isn't that easy as we need to care about API compatibility with
SWT. Take a look at the "LCA for your custom widget" thread in this
newsgroup which mentions some cases how to deal with that stuff.

You can find a almost complete reference of available theme keys in the
org.eclipse.rap.rwt/src/theme-template.properties

Greets
Benny

Paulo Abreu wrote:
> Hi,
>
> Is it possible to define two buttons with different styles in the same
> theme file? Like CSS Classes.
>
> For example if i use "button.background: 248, 248, 255" all the buttons
> will have the same background color. But i need to specify one
> color to button1 and a different color to button2.
>
> Is there any documentation with all keys for the theme file?
>
>
> Regards,
> Paulo Abreu
Previous Topic:workbench layout
Next Topic:IRunnableWithProgress problem
Goto Forum:
  


Current Time: Fri Mar 29 01:02:07 GMT 2024

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

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

Back to the top