comparison KBF.lua @ 5:43340216545c

get rid of the debugging backdrop on the group header
author Chris Mellon <arkanes@gmai.com>
date Tue, 12 Oct 2010 17:49:28 -0500
parents 75634f25a762
children bc661466f10c
comparison
equal deleted inserted replaced
4:75634f25a762 5:43340216545c
204 frame:SetAttribute("minHeight", 16) 204 frame:SetAttribute("minHeight", 16)
205 frame:SetAttribute("unit", "player") -- TODO: figure out the vehicle swapping stuff 205 frame:SetAttribute("unit", "player") -- TODO: figure out the vehicle swapping stuff
206 frame:SetAttribute("sortMethod", "NAME") 206 frame:SetAttribute("sortMethod", "NAME")
207 frame:SetAttribute("sortOrder", "-") 207 frame:SetAttribute("sortOrder", "-")
208 frame:SetPoint("TOP", anchor, "BOTTOM", 0, 0) 208 frame:SetPoint("TOP", anchor, "BOTTOM", 0, 0)
209 frame:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", 209 -- frame:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background",
210 edgeFile = "Interface/Tooltips/UI-Tooltip-Border", 210 -- edgeFile = "Interface/Tooltips/UI-Tooltip-Border",
211 tile = true, tileSize = 16, edgeSize = 16, 211 -- tile = true, tileSize = 16, edgeSize = 16,
212 insets = { left = 4, right = 4, top = 4, bottom = 4 }, 212 -- insets = { left = 4, right = 4, top = 4, bottom = 4 },
213 }) 213 -- })
214 frame:Show() 214 frame:Show() -- has to be shown, otherwise the child frames don't show
215 self.secureFrame = frame 215 self.secureFrame = frame
216 return anchor 216 return anchor
217 end 217 end