Replies: 1 comment 1 reply
-
More customizability for the pivot would be great; I think it's one of the big things I miss from Unity's layout system. I think a good general solution would be allowing a normalized pivot value, such that (0.5, 0.5) would place the pivot at the center, (0, 1) would place it at the bottom right corner, and so on. I recall there being progress being done on this, but I unfortunately don't have the discussions/PRs handy. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Very often, you are in a situation where you would want to set the
pivot_offset
of a control node to half it'ssize
to move the pivot point to the center of the node. Doing this manually is tedious since you would have to manually type in the values, for each axis.To solve this, I have two ideas:
A button that automatically sets the
pivot_offset
tosize/2
.A button to set and lock the pivot offset to the center i.e make it auto update when the size changes, so that you wouldn't need to worry about re-centering the pivot offset when changing the size.
One consideration with this feature would be whether this behaviour should be applied when the game is playing vs only in the editor.
If either one (Or both!) of these buttons are implemented, the UX would be greatly improved imo.
Beta Was this translation helpful? Give feedback.
All reactions