I'm looking at LPP-2037.

I'd like to provide a simple example that illustrates the different values for
constraints in tags, something like this:

<canvas>
    <view x="250" width="20" height="20" bgcolor="red" y="$once{m.y}"/>
<view x="280" width="20" height="20" bgcolor="blue" y="$immediately{m.y}"/> <view x="310" width="20" height="20" bgcolor="green" y="$always {m.y}"/>
    <window id="m" x="10" title="Drag me" width="160" height="20"/>
</canvas>

I don't understand the difference between "once" and "immediately", and this
example doesn't illustrate the difference.

What's the difference, and is there a better example I can use?

Thanks,

Lou


Reply via email to