Child pages
  • Styling Solutions
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Servoy offers a layered mechanism of styling the UI of solutions, with the options slightly differing for Smart Clients and Web Clients. 

Smart Client Styling

Servoy Smart Clients are Java Swing applications and Java Swing has the concepts of Look And Feels (LAFs) that can be applied on all Swing components.

Servoy supports using Java Swing Look and Feels out of the box.

About Java Swing Look and Feels

Java Swing Look and Feels come in two variaties:

  • Cross platform Look And Feels
  • Platform specific Look And Feels

Cross platform Look And Feels aim to provide the exact same UI regardless the platform, for example Windows, OSX or Linux, on which the LAF is used. 
Platform specific Look And Feels will only work on the platform they are designed for.

Java on each platform ships with at least a platform specific LAF, that is the default LAF used by the Servoy Smart Client. Java also ships 2 cross platform LAFS, of which Nimbu

Web Client Styling

OS/Browser Level

Smart Client Look and Feel with optional Themes, depending on the Look and Feel

Servoy StyleSheets within the solution

Object properties

OS level >>

>> SC: LAF > CSS > Property > Scripting

>> WC: Default StyleSheet > CSS > Property > Scripting (optionally: Templating)

Supported CSS

Web Client Templating

onRender event

Admin page properties related to Styling

Java Look And Feel's (LAFS)

Default LAFS
Cross platform LAFS
3rd Party LAFS

Explain the options:

- Platform is the highest level

- WC: browser > Default Web Client StyleSheet, SC: LAF > Theme

- Servoy StyleSheets

- Element Properties

- Runtime settings

Special Web Client:

- WEBDAV templates

Special Smart Client:

- Hacking UI properties: http://www.servoycamp.com/topics/tips/117-tuning-your-servoy-look-a-feel.html

  • No labels