|
|
|
|
|
Re: CSS Styles for Custom Widget [message #1697978 is a reply to message #1697856] |
Wed, 10 June 2015 04:38 |
Stefan Weiser Messages: 57 Registered: February 2012 |
Member |
|
|
Hi Ivan,
I'm sorry but that's not the situation. Have a look at the Code-Snippet in the attachment. There I have a custom control CanvasButton, where I set the color and the background-color.
When using RWT.CUSTOM_VARIANT with "canvas", everything works fine by using Composite.canvas in CSS.
When using CanvasButton in CSS, the color and background-color is not recognized. When I get the color manually by calling CanvasButton.this.getForeground() I receive the correct color as defined. The problem is demonstrated in the attachement. The color yellow is displayed correctly (setting foreground in GC), the background-color is not displayed correct (should be black).
Path of EntryPoint: /test
[Updated on: Wed, 10 June 2015 04:43] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04223 seconds