Hi Gorkem,,
>I was hoping that the CSS would be supported at SWT level. SWT would
>provide some simple to use APIs like Display.setCSS (String style)
>and Control.setCSS (String style).
With this method you can manage only inline style,, but you can manage CSS
styles defined like this
Text {
color:red;
}
More it's difficult to manage CSS custom propertry with this method.
Hi Eric,
The TK-UI CSS engine use setdata to put properties (#class, #id, attr) as
you have suggested.
You can read CSS SWT
engine<http://tk-ui.sourceforge.net/user-guide/cssengine/swtcssengine.html>section
for more information.
Inline style are managed like this, see Inline style section
<http://tk-ui.sourceforge.net/user-guide/cssengine/swtcssengine.html#Inline_style>
Regards Angelo
_______________________________________________
eclipse-incubator-e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/eclipse-incubator-e4-dev