示例#1
0
 protected override void OnSizeAllocated(Rectangle allocation)
 {
     base.OnSizeAllocated(allocation);
     CurrentMode.AllocateTextArea(this, textArea, allocation);
     SetChildrenPositions(allocation);
 }
示例#2
0
 protected override void OnReallocate()
 {
     base.OnReallocate();
     CurrentMode.AllocateTextArea(this, textArea, Bounds);
     SetChildrenPositions(Bounds);
 }