Hi,
Can somebody tell me if the feedback between having 'stretches="both"' and
dragging is expected behavior? I'm looking into a bug report,
http://jira.openlaszlo.org/jira/browse/LPP-2170, and this might be related
to the issue I'm tracking down.
For those that don't run the code, it defines two subviews in a parent view
with stretches="both". The result is that the second view is stretched to
the width/height of the parent. However, when you drag the second (red)
view, it changes the width/height of both subviews. You'll also see some
strange behavior if the drag the first (blue) view off the right or bottom
of the view.
Thanks!
Phil
================================
<canvas>
<view width="350" height="350" stretches="both" bgcolor="0xaaaaaa">
<simplelayout axis="y" spacing="5"/>
<view width="50" height="100" bgcolor="blue">
<method event="onmousedown">dragger1.apply()</method>
<method event="onmouseup">dragger1.remove()</method>
<dragstate name="dragger1" />
</view>
<view name="view2" bgcolor="red" width="200" height="200">
<method event="onmousedown">dragger2.apply()</method>
<method event="onmouseup">dragger2.remove()</method>
<dragstate name="dragger2" />
</view>
</view>
</canvas>
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev