Bounds fix
This commit is contained in:
@@ -109,7 +109,7 @@ namespace FlaxEngine.GUI
|
||||
{
|
||||
var c = _children[i];
|
||||
|
||||
c.Bounds = new Rectangle(x, y, itemsWidth, itemsHeight);
|
||||
c.Bounds = new Rectangle(x + TileMargin.Left, y + TileMargin.Top, itemsWidth + TileMargin.Width, itemsHeight + TileMargin.Height);
|
||||
|
||||
x += itemsWidth + TileMargin.Width;
|
||||
if (x + itemsWidth + TileMargin.Width > width)
|
||||
|
||||
Reference in New Issue
Block a user