/// <summary>Called by UResizer for every control to be 'resized'.</summary> public override void OnAfterResizerUpdate() { if (this.dragHandle_ != null) { this.dragHandle_.size = this.windowTitleLabel_.size; // Push the window back into screen if the label/draghandle are partially offscreen UIUtil.ClampToScreen( window: this, alwaysVisible: windowTitleLabel_); } this.dragHandle_.size = new Vector2(this.width - (2 * UConst.UIPADDING), this.windowTitleLabel_.height); }