internal override void Layout() { _innerTextBox.AbsoluteArea = new Rectangle(AbsoluteInputArea.X, AbsoluteInputArea.Y, Area.Width, Area.Height); _innerTextBox.SissorArea = Rectangle.Intersect(_innerTextBox.AbsoluteArea, SissorArea); base.Layout(); }
internal override void Layout() { foreach (var widget in Children) { widget.AbsoluteArea = new Rectangle( widget.Area.X + AbsoluteInputArea.X, widget.Area.Y + AbsoluteInputArea.Y, widget.Area.Width, widget.Area.Height); if (Parent != null) { widget.SissorArea = Rectangle.Intersect(widget.AbsoluteArea, SissorArea); } } base.Layout(); }
protected internal override void OnLayout() { m_InnerTextBox.ScreenArea = new Rectangle(InputArea.X, InputArea.Y, Area.Width, Area.Height); m_InnerTextBox.ClipArea = Rectangle.Intersect(m_InnerTextBox.ScreenArea, ClipArea); }