[Laszlo-dev] Feature proposal: Add CSS2 box model support (padding, margins, borders) to views
max at openlaszlo.org
Thu Dec 3 10:43:45 PST 2009
See here for more details on how box model works:
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.
More information about the Laszlo-dev