5E Character Create Playlist
  1. #1
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    253

    Size and Position

    Is there an event that I can use to know when a control has finished drawing itself?
    Using createControl the setPosition and setSize functions return 0, even after setAnchor, setAnchoredHeight, and setAnchoredWidth
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  2. #2
    You can use onFirstLayout to get an event after the first layout of the parent window. Anything else I've played with generates too many recursive issues, so that's the solution. I design to avoid that issue in 99% of the cases, and use the onFirstLayout event if absolutely needed.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Product Walkthrough Playlist

Log in

Log in