1 Feb 18:42
Views with non-integer width and height
Philip Romanik <promanik <at> laszlosystems.com>
2007-02-01 17:42:20 GMT
2007-02-01 17:42:20 GMT
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?(Continue reading)

RSS Feed