Here's the link to the improvement: http://jira.openlaszlo.org/jira/browse/LPP-8552

Max Carlson wrote:
See here for more details on how box model works:
http://www.w3.org/TR/CSS2/box.html#box-dimensions

I propose adding four attributes to view, to support CSS2 box model:

padding: Specifies the number of pixels used for padding around the view
margin: Specifies the number of pixels used for margins inside th view.
borderwidth: Specifies the width of the border, in pixels.
bordercolor: Specifies the color of the border, as a CSS color value.

The risk is, padding, border and margin may be used in existing applications. I already found a case in lz/tabs.lzx that used 'padding'. In most cases, these attributes can simply be renamed.

Please send your thoughts! I'd like to get this finalized in time for the 4.7 release.


--
Regards,
Max Carlson
OpenLaszlo.org

Reply via email to