protected override void OnSizeAllocated(Rectangle allocation) { base.OnSizeAllocated(allocation); CurrentMode.AllocateTextArea(this, textArea, allocation); SetChildrenPositions(allocation); }
protected override void OnReallocate() { base.OnReallocate(); CurrentMode.AllocateTextArea(this, textArea, Bounds); SetChildrenPositions(Bounds); }