O'Reilly logo

Easy Web Development with WaveMaker by Edward Callahan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tooled styling

The Style tab of the Properties panel contains the bulk of Studio's tooled styling. Under Basic are the border, padding, and margin properties. Under Styles is a tooled CSS editor:

Tooled styling

The styles we specify here are added directly to the widget's definition in the page-specific widget.js file. For the previous panel, when we look in the page's widgets.js, we can see the specified styles in the styles parameter:

CustomizedPanel: ["wm.Panel", {"height":"125px","horizontalAlign":"left","styles":{"backgroundGradient":{"direction":"horizontal","startColor":"#3737b9","endColor":"#011d65","colorStop":80},"color":"#f00000","textAlign":"center"},"verticalAlign":"top","width":"100%"}, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required