• Position DERMA Panel / Frame.
    2 replies, posted
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: [code] menuFrame:SetPos( 0, ScrH() / 2 )[/code] Yet it's positioning it in the bottom left. Any reason why? Thanks
menuFrame:SetPos( 0, ScrH() / 2 - ( menuFrame:GetTall() / 2 ) )
[QUOTE=meharryp;47384998]menuFrame:SetPos( 0, ScrH() / 2 - ( menuFrame:GetTall() / 2 ) )[/QUOTE] Thank you! It works!
Sorry, you need to Log In to post a reply to this thread.