Hey
I am trying to figure out how to anchor a sprite (A) to the bottom of the screen, and then anchor another sprite (B) to the right of sprite (A):
Root
|-- Panel
|-- Anchor Bottom
|-- Sprite (A) 500 pixels wide
|-- Anchor Right
|-- Sprite (B) 50 pixels wide
I have also tried setting the container of "Anchor Right" to "Sprite (A)" which doesn't seem to work.
Here is what I am hoping to achieve:
|---------------------------------------------------------------------|
| |
| |
| |
| |
| "Panel" |
| |
| |
| |
| [A---------------------500---------[B----50----B]A] |
|---------------------------------------------------------------------|
In my scene sprite (A) will stretch to fill the width of the screen with a horizontal margin of 150px.
Sprite (B) represents 25% the width of sprite (A).
I hope to combine the use of UIAnchor and UIStretch to achieve this.