Fix UI Controls layout auto-resizing to always use pivot-relative logic

#3031
This commit is contained in:
Wojtek Figat
2025-03-16 22:57:18 +01:00
parent 87e423ed48
commit fa68a5f572
5 changed files with 18 additions and 6 deletions

View File

@@ -78,7 +78,7 @@ namespace FlaxEngine.GUI
size.Y = top + bottom;
if (!ControlChildSize)
size.X = maxWidth;
Size = size;
Resize(ref size);
}
else if (_alignment != TextAlignment.Near && hasAnyTop)
{