Skip to content

Best way to create UI elements #2278

Answered by ghost
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Haha my apologies, I realised where I had gone wrong. I was putting the call to base.OnXXX() (which recurses the event to child controls) before I added the child controls. Essentially, I updated the children before there were any, so the call went nowhere. Bit of an annoying thing to debug but it wasn't anything from you guys!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant