View Single Post
04-16-09, 04:10 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Just looking quickly at what you posted, I think the issue is your anchor points... anchor_pt is the part of the frame that you're anchoring and relative_pt is the part of the frame you're anchoring to. You're setting anchor_pt to BOTTOMLEFT and relative_pt to TOPLEFT which means the bottom of the unit frame it being anchored to the top of the console and that would place the entire unit panel off screen... you probably want to use anchor_pt = "TOPLEFT" and relative_pt = "BOTTOMLEFT"

Also, I'm assuming it is a type, but Lua variable names are case sensitive, so "nuI_TopBars" =/= "nUI_TopBars" -- if that's not a typo, that would also be a problem.

And just so the wordpolice out there in forumland don't smack you with their verbal blackjacks... Lua is not an acronym (LUA) -- it's Hawaian for "moon" I believe. I have no idea why a programming language is named "moon", but whatever. ~lol~
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/