Home > Eclipse, General, Java > e4 CSS Styling: More Fun with radial Gradients

e4 CSS Styling: More Fun with radial Gradients

I enhanced the gradient support a bit, now e4 supports basic radial gradients, too. The implementation is not finished yet but a good starting point. To get the best possible performance it would be great if radial gradients could be supported by SWT directly. In the future, I would like to support a similar functionality compared to WebKit’s css gradients. The following screenshot shows the current version of my e4 contacts demo with radial gradient backgrounds.

contacts-dark-gradients-small-2.png

Instructions how to install and run the contacts demo you find here.

Have Fun!

Kai
Follow me on Twitter

Categories: Eclipse, General, Java Tags:
  1. June 16th, 2009 at 15:53 | #1

    Hi Kai, Have you checked the CSS demo of the eSWT on Qt. On that implementation the gradient backgrounds are supported by the SWT widgets. Also notable is the rounded corners.

    http://www.gorkem-ercan.com/2009/06/css-support-on-qt-port-of-eswt.html

  2. June 18th, 2009 at 16:40 | #2

    Kai, this looks really cool! Radial gradients certainly add a lot of polish to the look of a UI. Now we just need to get SWT to support them :)

  1. No trackbacks yet.