public override void SetSize(int width, int height)
 {
     base.SetSize(width, height);
     if (gridBox != null)
     {
         //adjust grid size
         gridBox.SetSize(width - 10, height - 10);
     }
 }
예제 #2
0
 public override void SetSize(int width, int height)
 {
     base.SetSize(width, height);
     //---------------------------------
     if (gridBox != null)
     {
         //adjust grid size
         gridBox.SetSize(width - 10, height - 10);
         this.dockspaceController.SetSize(width, height);
     }
     //---------------------------------
 }