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
Anchor gizmos for UI elements are using width and height, which leads to misplaced anchor representation and editing if the element is actually a child element of a layout. In that case, it should use calculatedWidth and calculatedHeight instead.
See image below: the anchor is set to [0, 0, 1, 1] (meaning bottom-left and top-right), but the gizmos are misplaced.
Steps to Reproduce
Create Element with LayoutGroup and fitting enabled
Create a child Element with LayoutChild
Create yet another child (below entity from point 2, making it a grand-child of the LayoutGroup). The anchor gizmos of this entity will not be correctly placed.
The text was updated successfully, but these errors were encountered:
jpauloruschel
changed the title
Misplaced UI element anchor gizmos if entity is a child of LayoutGroup
Misplaced UI element anchor gizmos if parent is a child of LayoutGroup
Dec 10, 2021
Description
Anchor gizmos for UI elements are using
width
andheight
, which leads to misplaced anchor representation and editing if the element is actually a child element of alayout
. In that case, it should usecalculatedWidth
andcalculatedHeight
instead.See image below: the anchor is set to
[0, 0, 1, 1]
(meaning bottom-left and top-right), but the gizmos are misplaced.Steps to Reproduce
The text was updated successfully, but these errors were encountered: