[Laszlo-dev] Views with non-integer width and height
Philip Romanik
promanik at laszlosystems.com
Thu Feb 1 09:42:20 PST 2007
Hi Max,
I'm tracking down the problem of tabs with missing borders in dhtml FF
1.5 and 2.0. It looks like it is caused by non-integer values for the
width and/or height of the view. I didn't see any other controls with
this problem but it sounds like a generic issue. The clipping
rectangle built by LzSprite.js has non-integer values.
This isn't a problem in swf or IE.
This is a simple example to demonstrate:
<canvas>
<simplelayout spacing="10"/>
<tabs x="10" height="111.5" width="200">
<tabpane>Tab 1<text>Height = 111.5</text></tabpane>
</tabs>
<tabs x="10" height="111" width="200.5">
<tabpane>Tab 2<text>Width = 200.5</text></tabpane>
</tabs>
<tabs x="10" width="101" height="101">
<tabpane>Tab 3<text>Integer values</text></tabpane>
</tabs>
</canvas>
Any thoughts?
Thanks!
Phil
More information about the Laszlo-dev
mailing list