Thread: Sexy Interface?
View Single Post
12-14-08, 10:56 AM   #30
hipjipp
A Cliff Giant
 
hipjipp's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 79
Originally Posted by Lonehwolf View Post
Still trying to figure out what to tweak in Hpanel... the
Code:
self:setHeight(xx)
doesn't seem to work this time =/

Gonna keep working on it
If you want the panel static, remove this from the code:
Code:
if not InCombatLockdown() then
 self:SetHeight(_G["ChatFrame1"]:GetHeight()+4)
end
and in the new()-function, add this:
Code:
self:SetHeight(xx)
and it will be static. if you have both code snippets in your HPanel.lua, the one in the OnUpdate function will override the other one. Hope i shed some light on it =)
  Reply With Quote