Theme [message #45916] |
Mon, 10 September 2007 13:10  |
Eclipse User |
|
|
|
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 08:41  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04827 seconds