do
local widgetType = "LSM30_Border"
- local widgetVersion = 9
+ local widgetVersion = 11
local contentFrameCache = {}
local function ReturnSelf(self)
check:Hide()
frame.check = check
local text = frame:CreateFontString(nil,"OVERLAY","GameFontWhite")
- text:SetPoint("LEFT", check, "RIGHT", 1, 0)
- text:SetPoint("RIGHT", frame, "RIGHT", -2, 0)
+ text:SetPoint("TOPLEFT", check, "TOPRIGHT", 1, 0)
+ text:SetPoint("BOTTOMRIGHT", frame, "BOTTOMRIGHT", -2, 0)
text:SetJustifyH("LEFT")
text:SetText("Test Test Test Test Test Test Test")
frame.text = text
else
AceGUI:SetFocus(self)
self.dropdown = AGSMW:GetDropDownFrame()
+ local width = self.frame:GetWidth()
self.dropdown:SetPoint("TOPLEFT", self.frame, "BOTTOMLEFT")
+ self.dropdown:SetPoint("TOPRIGHT", self.frame, "BOTTOMRIGHT", width < 160 and (160 - width) or 0, 0)
for k, v in pairs(self.list) do
sortedlist[#sortedlist+1] = k
end