On Nov 11, 2005, at 3:22 PM, Scott Evans wrote:
Should simplelayout treat 0 opacity as an equivalent to
visible==false ?
I say no, since you can get that effect already:
visible="${opacity!=0}"
Which is fine until you have 100 replicated views with that additional
constraint...
Does this come up often: that you have replicated views that should
become zero-dimensional when their opacity goes to zero? (Note that
for an opacity=0 view, the main difference between being visible and
invisible is that an invisible view is treated for layout purposes as
though its width and height were zero.)
We could add a new attribute as below, but if it wouldn't be needed
much I'd just as soon avoid the complexity and the doc and QA overhead.
If simplelayout took it upon itself to do that, how would specify
that
you want the current behavior?
how about
<simplelayout ignore-opacity="true"/>
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user