EditorPanel.setTextAreaRect C# (CSharp) Method

setTextAreaRect() private method

private setTextAreaRect ( ) : void
return void
    private void setTextAreaRect()
    {
        textAreaRect.x = backgroundRect.x + ((float) 125/(Screen.width*3/4))*backgroundRect.w;
        textAreaRect.y = backgroundRect.y + ((float) 40/Screen.height)*backgroundRect.h;
        textAreaRect.w = backgroundRect.w - 2*(textAreaRect.x - backgroundRect.x);
        textAreaRect.h = backgroundRect.h - 2*(textAreaRect.y - backgroundRect.y);
    }