Jump to content

Relative position with Z-Order


Recommended Posts

Hi all,
just for sample i'm trying to put a square in the form center, and a circle in the square center.

I've placed a layout with FlexGrow=1 so it will take all the form space and AlignmentChildren.JustifyContent=Center.
Into the layout i've placed the square with  PositionMode=relative.
Now if i try to put the circle i can't use relative position but only absolute and i've to place the circle in the center without any support.

How i can solve ?
Thanks a lot,
Best Regards.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...