Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » CSS not complete work for Button(only font can be changed)
CSS not complete work for Button [message #728537] Fri, 23 September 2011 12:53 Go to next message
peter pan is currently offline peter pan
Messages: 9
Registered: September 2011
Junior Member
according to the mapping here

http://wiki.eclipse.org/E4/CSS/SWT_Mapping#Widget:_Button

this can be part of the CSS, but it doesn't work, neither background-image.

Button { background-color: #FF0000 }

has anyone made this work?

Re: CSS not complete work for Button [message #728546 is a reply to message #728537] Fri, 23 September 2011 13:11 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5400
Registered: July 2009
Senior Member
You can't really set a background-color on a button (at least on win32)

Tom

Am 23.09.11 14:53, schrieb peter pan:
> according to the mapping here
>
> http://wiki.eclipse.org/E4/CSS/SWT_Mapping#Widget:_Button
>
> this can be part of the CSS, but it doesn't work, neither background-image.
>
> Button { background-color: #FF0000 }
>
> has anyone made this work?
>
>
Previous Topic:Eclipse E4 - Example for css styling
Next Topic:"New UI Presentation" not working (in Eclipse Indigo)
Goto Forum:
  


Current Time: Mon Oct 20 22:57:22 GMT 2014

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

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