public override Vector2 GetSizeToDisplay(Rect displayArea) { return(myCellView.GetSizeToDisplay(displayArea)); }
public override Vector2 GetSizeToDisplay(Rect frameArea) { return(myMainView.GetSizeToDisplay(frameArea)); }
// --------------------------------------------------------------------------------- /// Resizes the editor panel to fit the content. void ResizeToFit() { var displaySize = myMainView.GetSizeToDisplay(position); position = new Rect(position.x, position.y, displaySize.x, displaySize.y); }