Xarxus
December 19th, 2020, 13:50
Here again. I have a frame and inside it I would like to insert a details button to open a new window.
I want it to be placed in the upper right corner. So I use an anchor for the button but ...
But if I use insidetopright, with any positive or negative offset, I don't see the button.
What am I doing wrong?
Frame
<frame_char name="MyFrame">
<bounds>240,20,-25,317</bounds>
</frame_char>
Option #1 - both positives
<button_details name="MyButton">
<anchored to="MyFrame" position="insidetopright" offset="30, 30" width="20"/>
...
</button_details>
Option #2 - negative - positive
<button_details name="MyButton">
<anchored to="MyFrame" position="insidetopright" offset="-30, 30" width="20"/>
...
</button_details>
Option #3 - positive - negative
<button_details name="MyButton">
<anchored to="MyFrame" position="insidetopright" offset="30, -30" width="20"/>
...
</button_details>
Option #4 - both negatives
<button_details name="MyButton">
<anchored to="MyFrame" position="insidetopright" offset="-30, -30" width="20"/>
...
</button_details>
Option #5 - both zeroes
<button_details name="MyButton">
<anchored to="MyFrame" position="insidetopright" offset="0, 0" width="20"/>
...
</button_details>
I want it to be placed in the upper right corner. So I use an anchor for the button but ...
But if I use insidetopright, with any positive or negative offset, I don't see the button.
What am I doing wrong?
Frame
<frame_char name="MyFrame">
<bounds>240,20,-25,317</bounds>
</frame_char>
Option #1 - both positives
<button_details name="MyButton">
<anchored to="MyFrame" position="insidetopright" offset="30, 30" width="20"/>
...
</button_details>
Option #2 - negative - positive
<button_details name="MyButton">
<anchored to="MyFrame" position="insidetopright" offset="-30, 30" width="20"/>
...
</button_details>
Option #3 - positive - negative
<button_details name="MyButton">
<anchored to="MyFrame" position="insidetopright" offset="30, -30" width="20"/>
...
</button_details>
Option #4 - both negatives
<button_details name="MyButton">
<anchored to="MyFrame" position="insidetopright" offset="-30, -30" width="20"/>
...
</button_details>
Option #5 - both zeroes
<button_details name="MyButton">
<anchored to="MyFrame" position="insidetopright" offset="0, 0" width="20"/>
...
</button_details>