question about positioning elements

ok what i am basically intending to do is make a small box in the lower right corner with a button. this button will take you to level one. above the box i want to display a GUITexture element of my games logo. right above it.

my problem is the gui texture is not right above it but half way up the screen.

here is my code

var symbolic_logo : GUITexture;

var screen_width : float; 
var screen_height : float; 

var gui_menu : Rect;
var gui_newgame : Rect;

function Start () {

	symbolic_logo.transform.position = Vector3.zero;
	symbolic_logo.transform.localScale = Vector3.zero;

	screen_width = Screen.width; 
	screen_height = Screen.height; 

    gui_menu = Rect (screen_width - 200, screen_height - 100, 200, 100);
	gui_newgame = Rect (screen_width   - 175 , screen_height  - 75 , 150, 50);
	

	symbolic_logo.pixelInset = Rect (gui_menu.x , gui_menu.y, 128, 58);
}


function OnGUI () { 
	
    // Make a background box
	GUI.Box (gui_menu, "Welcome");
	
	// Make the first button. If it is pressed, Application.Loadlevel (1) will be executed
	if (GUI.Button (gui_newgame, "New Game")) {
		
		Application.LoadLevel (1);
		
	}
		
}

@script RequireComponent(GUITexture)

what exactly am i doing wrong here?

ok so if you read my above code, i got it to work by doing this

	symbolic_logo.pixelInset = Rect (screen_width - 200, screen_height - gui_menu.y , 128, 58);

and i dont even under stand why. are GUITexture elements using a different positioning scheme then the gui which i draw via code?

as you can see if i were to use gui_menu.x that would work fine, but if i cannot use gui_menu.y to set the y position i must remove what it is from the screen_height. im just kinda confused… and tired… any help?

Yes.

UnityGUI (the stuff you do via code, like GUI.Button(…), GUI.Label(…)) uses the upper-left corner of the window as 0,0 and the width and height are done in pixels.

GUIText and GUITextures use the lower-left corner of the window as 0,0 and the width and height always range from 0.0 to 1.0 (a value of 1.0 means all the way to the right or top of the window).