You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started to find the need of an another component which do not control RectTransform's size at all, but rather only locks one axis of anchored position to be offsetted equal to safe area.
I am thinking should this be a function of SafeAreaPadding or a new component, but I believe it is a new component since it doesn't require size locking. (Also it would be easier to maintain code)
Driving just the anchored position is easy to make an Unlocked mode that I want for SafeAreaPadding but having difficulty programming it much more easily. Unlike "padding" which turns out to be related to many fields on the RectTransform anchored position is just an easy to understand, pure value.
Also with just anchored position, I believe it will be easier to integrate 2019.2's Cutout later on. For example, offsetting to the left of Galaxy S10's corner cutout when trying to anchor to the top right corner. If you use SafeAreaPadding, the only choice is to go down.
The text was updated successfully, but these errors were encountered:
I started to find the need of an another component which do not control
RectTransform
's size at all, but rather only locks one axis of anchored position to be offsetted equal to safe area.I am thinking should this be a function of
SafeAreaPadding
or a new component, but I believe it is a new component since it doesn't require size locking. (Also it would be easier to maintain code)Driving just the anchored position is easy to make an
Unlocked
mode that I want forSafeAreaPadding
but having difficulty programming it much more easily. Unlike "padding" which turns out to be related to many fields on theRectTransform
anchored position is just an easy to understand, pure value.Also with just anchored position, I believe it will be easier to integrate 2019.2's
Cutout
later on. For example, offsetting to the left of Galaxy S10's corner cutout when trying to anchor to the top right corner. If you useSafeAreaPadding
, the only choice is to go down.The text was updated successfully, but these errors were encountered: