From the code you posted it looks you are getting the order wrong. You are trying to anchor the texture to the label control, but define the label after the texture. When the game sees the line defining the anchor, FooLabel is nil, so instead it used the parent control SomeTopLevelControl as anchor target.
|