
| Key: |
LPP-2092
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
--
|
| Assignee: |
Mamye Kratt
|
| Reporter: |
Keith
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
| Severity: |
Minor
|
| Fixed in Change#: |
42,598
|
| Runtime: |
N/A
|
| Fix in hand: |
False
|
|
This code works in the views example, but if you write it in an external editor and load in the browser the button appears at x=0, until the window is resized when it then jumps to the correct position.
<canvas height="300" width="500">
<window x="20" y="20" width="200" height="250"
title="Boring Window" resizable="true">
<simplelayout axis="y" spacing="10" />
<text>Here is some text.</text>
<text>I could ramble for hours.</text>
<button x="${(immediateparent.width / 2)
- (this.width / 2)}">
My Button
</button>
</window>
</canvas>
|
|
Description
|
This code works in the views example, but if you write it in an external editor and load in the browser the button appears at x=0, until the window is resized when it then jumps to the correct position.
<canvas height="300" width="500">
<window x="20" y="20" width="200" height="250"
title="Boring Window" resizable="true">
<simplelayout axis="y" spacing="10" />
<text>Here is some text.</text>
<text>I could ramble for hours.</text>
<button x="${(immediateparent.width / 2)
- (this.width / 2)}">
My Button
</button>
</window>
</canvas> |
Show » |
|
It doesnt work in
http://www.laszlosystems.com/lps-3.3/docs/guide/views-tutorial.html#views-tutorial.constraints