[Laszlo-user] Bug?: Buttons inside of stretchable view

Adam Wolff adam at laszlosystems.com
Sat Jun 17 11:50:41 EDT 2006


Does it work if you take the alignment off of button?

On Jun 17, Mark Engelberg wrote:

> When I put buttons inside of a resizable, stretchable view, I get
> completely bizarre behavior.  I have tried to distill this to a very
> simple example.  Although it doesn't demonstrate the weirdest things
> I've seen, it certainly doesn't behave as I'd expect:
> 
> <canvas debug="true" height="100%" width="100%">
> 	<view stretches="both" name="stretchyView"
> 		width="${parent.width}" height="${parent.height}">
> 		<button align="center" valign="middle">Click me</button>
> 	</view>
> </canvas>
> 
> Why doesn't this work?  Is there any workaround?
> 
> Thanks,
> 
> Mark
> _______________________________________________
> Laszlo-user mailing list
> Laszlo-user at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
> 


More information about the Laszlo-user mailing list