screen size

can somebody explain me how to make a box is the same size as your “monitor size”.

my first main menu: GUI.Box (new Rect (0, 0, Screen.width, Screen.height), “”, “Main Menu Box”);

the box is sized to the screen but next

sub menu: GUI.Box (new Rect (0, 0, Screen.width, Screen.height), “Era select”);
which is technacly the same is not the same its like 80% smaller than my main menu so how do I get it bigger? I already tried screen.currentresolution.widht but same problem my game is also the good size.

thankx in advance

well the first part where comment is //main menu htat hole if statemtn part works fine but the next where comment //select era menu there the main gui.box isn’t resizeing for me.

any help is very apriciated.