Hello, I have a dynamic table of UIButtons. If I change the text value of the button's UIlabel to something that is larger than a single line of text I find that the buttons will overlap in the table, but calling execute on the table in the Unity editor will reposition everything just fine.
What I am doing in my code when creating the buttons and setting their text is:
labelComponent.text = question;
abelComponent.MarkAsChanged();
After all buttons are added I call:
questionTable.repositionNow = true;
I'm not seeing the buttons properly positioned though, and I'm wondering if the reposition is occurring before the UILabel has had a chance to re-calculate its bounds. I was wondering what the best way to go about this would be.