Exemplo n.º 1
0
 protected override void OnSizeAllocated(Rectangle allocation)
 {
     base.OnSizeAllocated(allocation);
     if (textEditorWidget.Allocation != allocation)
     {
         textEditorWidget.SizeAllocate(allocation);
     }
     SetChildrenPositions(allocation);
 }
Exemplo n.º 2
0
 protected override void OnSizeAllocated(Rectangle allocation)
 {
     base.OnSizeAllocated(allocation);
     if (this.GdkWindow != null)
     {
         this.GdkWindow.MoveResize(allocation);
     }
     allocation = new Rectangle(0, 0, allocation.Width, allocation.Height);
     if (textEditorWidget.Allocation != allocation)
     {
         textEditorWidget.SizeAllocate(allocation);
     }
     SetChildrenPositions(allocation);
 }