Why are you doing this at all? Why don't you just use anchors?
Can you provide an example where anchors would solve the problem with this use case? I've been working on a similar problem with no luck so far using anchors.
My problem is: I have a row of buttons that do not fit on iPhone 4 screens. Previously, the buttons were just anchored legacy style to the bottom left corner of the screen. Now, I need them to scale down in size so that all of the buttons fit on screen.
My thought was to make all the buttons a child object of a container (empty widget) or a panel, anchor that container so that it fits the screen correctly where the buttons should be, then I expected all the child objects to scale to fit inside that widget (because they're child objects, and... huh, as I type this I'm not sure I anchored the buttons to the container widget correctly. I'll try again, but had trouble getting this solution to work.)
Does that make sense?
Anyway, I'm sure the OP and I would both benefit from a quick example. I'll check back in once I give my idea another try (to verify I did it correctly before). Do I have the right idea? Is that what you meant by "just use anchors!"?
EDIT: In this case OP would just anchor his widgets to the "scaling background", which would make it work correctly as in this example:
https://www.youtube.com/watch?v=P8JTTE0JBXQIn retrospect, I must have anchored my buttons incorrectly. Let me give it another try and I'll check back.