Style background-image:linear-gradient()

Hi All

Following Style (background property) does not work for a forms part like a footer in my environment:

background-image:linear-gradient(top,#fefcea,#f1da36);

Is the support of styles also dependent of the Java version (I assume so)?

Environment:
Servoy 7.3.1
OS X 10.8.5
Java 1.6.0_65

Regards

Gradients only work for webclient!

Thanks, Harjo. Although it would also be very useful for Smart Client-Applications. Or do you know of a technical reasons why this wouldn’t be possible. May be in a future release :-)
@Servoy: It would be quite helpful if the styles were marked if they are in some way “limited”.

Harjo:
Gradients only work for webclient!

Regards

This is well documented in the wiki! And dont count on css gradients going to work on smartclient! Java swing is something completly different. You can use gradients in smartclient but only doing it by images.

Hi Harjo

I use following documentation about styles, but they do not contain information about where they are valid (unless I oversee something)

https://wiki.servoy.com/display/public/DOCS/Supported+CSS+style+properties
https://wiki.servoy.com/display/public/DOCS/Web+Client+compatibility+overview

PS: The link http://www.w3schools.com/css/css_colornames.asp doesn’t seem to be valid any more on the first URL

Harjo:
This is well documented in the wiki! And dont count on css gradients going to work on smartclient! Java swing is something completly different. You can use gradients in smartclient but only doing it by images.

Regards

Servoy 6.1 is where styles were normalized between smart and web client as closely as possible. Even then, gradients and some borders etc were not possible in smart client. Java swing has been around for a long time and is not where UI development is getting pushed (in fact, swing is getting replaced outright with FX: http://www.oracle.com/technetwork/java/ … 46554.html).

In the two years since 6.1 came out, what is possible with css has exploded. You can do 3D animations (with dom elements no less) for example. I wouldn’t expect Servoy’s wiki to keep up with all the variations and differences.

  1. Is JavaFX replacing Swing as the new client UI library for Java SE?
    Yes. However, Swing will remain part of the Java SE specification for the foreseeable future, and therefore included in the JRE. While we recommend developers to leverage JavaFX APIs as much as possible when building new applications, it is possible to extend a Swing application with JavaFX, allowing for a smoother transition.

@Servoy : Isn’t it time for a smart client update to bring the UI more in line with the Servoy web client ?
(Yes, besides smart client I still want a html5 fat web client (Servoy 8 ))

Regards,

+1, we would very much like a modernized Smart Client
Regards

If you had to choose, which would you pick: a modernized smart client or a modernized web client?

Hi David

david:
If you had to choose, which would you pick: a modernized smart client or a modernized web client?

A modernized Smart Client.
Regards