Position DERMA Panel / Frame.

Hey guys,

I’m working on a DERMA project. I wan’t it to be positioned on the far left and position the height based on the users screen height. (Center it and then put it on the far left.) I’ve done this by using the following code:

menuFrame:SetPos( 0, ScrH() / 2 )

Yet it’s positioning it in the bottom left. Any reason why?


menuFrame:SetPos( 0, ScrH() / 2 - ( menuFrame:GetTall() / 2 ) )

Thank you! It works!