View Single Post
12/17/15, 11:09 PM   #3
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
Originally Posted by merlight View Post
I don't know whether it's intended. What you describe kind of makes sense for a simple case. For example a box with a label that grows/shrinks with the contained text. If I put that box near the right edge, I expect it to grow to the left when the text gets longer, so that it doesn't run off the screen. If I place the box near the left edge, I expect it to grow to the right.
Yeah I thought about that and I can see situations where it could be useful like that, but it also means if you want it to grow in a certain direction you have to re-anchor it every time its moved. From the coders point of view I set the anchor point a certain way on purpose, I don't want the game changing them. Its kind of like saying the game knows better than I do so it will just do whatever it wants and re-anchor my controls however it thinks is best, which seems wrong to me.

Anyhow re-anchoring the controls at every OnMoveStop works, I was just curious if it had always done this & I never noticed.
  Reply With Quote