Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-incubator-e4-dev] E4 Contacts demo with CSS theming

Hi All,

I am just back from Denmark and found some time to play around with e4
and css theming. Kevin was so kind and sent me his running version of
the TK-UI css engine. Attached you find a screenshot of my E4 contacts
demo styled with css using TK-UI. This is just a demo style to check out
the capabilities of css theming...

I run into a few problems though:
- SWT does not allow to set the background color or background image of
a Menu. Even after patching the win32 SWT and making the methods
Menu.setBackground and Menu.setBackgroundImage public, it did not work
under Windows. Any hints from the SWT gurus how to change the Menu
background under Windows?
- I could not style the table column titles, I assume that is caused
also by the SWT native mapping.
- Other things I did not figure out so far:
  - How to style a Label with SWT.SEPARATOR set
  - How to style the border around a text input (looks also very
"native" on Windows Vista)

But besides that, from the end user point of view it is very easy to
theme an RCP application using TK-UIs css engine.

Best regards,

Kai


Attachment: e4-css-dark.png
Description: e4-css-dark.png


Back to the top