Skip to main content


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 panFriend
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 SchindlFriend
Messages: 6651
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: Wed Apr 24 22:51:34 GMT 2024

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

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

Back to the top