public virtual void Resize(int x, int y) { LastParentSize.X = x; LastParentSize.Y = y; Inited = true; Rect.Resize(x, y); var PixelSize = Rect.GetPixelSize(); foreach (var child in Children) { child.Resize(PixelSize); } }
public virtual void Resize(int x, int y) { LastParentSize.X = x; LastParentSize.Y = y; Inited = true; Rect.Resize(x, y); var PixelSize = Rect.GetPixelSize(); foreach (var child in Children) { child.Resize(PixelSize); } }