From c7d9ecb41af0300b7f4d560a3d436397b83712bc Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Fri, 1 Dec 2006 02:35:54 +0000 Subject: [PATCH] Clique: Removed truncating of profile names, and re-anchored. Trying to get the nested delete working properly --- CliqueOptions.lua | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CliqueOptions.lua b/CliqueOptions.lua index 2a1eee7..7d5f278 100644 --- a/CliqueOptions.lua +++ b/CliqueOptions.lua @@ -319,8 +319,9 @@ function Clique:CreateOptionsFrame() -- Profile Dropdown Frame CreateFrame("Frame", "CliqueDropDownProfile", CliqueFrame, "UIDropDownMenuTemplate") CliqueDropDownProfile:SetID(1) - CliqueDropDownProfile:SetPoint("RIGHT", CliqueDropDown, "LEFT", -210, 0) + CliqueDropDownProfile:SetPoint("TOPLEFT", CliqueFrame, "TOPLEFT", -10, -25) CliqueDropDownProfile:SetScript("OnShow", function() Clique:DropDownProfile_OnShow() end) + UIDropDownMenu_SetWidth(150, CliqueDropDownProfile) -- Button Creations local buttonFunc = function() Clique:ButtonOnClick() end @@ -997,12 +998,7 @@ function Clique:DropDownProfile_Initialize() for k,v in ipairs(work) do info = {} - info.text = string.sub(v, 1, 15) - - if #v > 15 then - info.text = info.text.."..." - end - + info.text = v info.value = v info.func = click_func UIDropDownMenu_AddButton(info) -- 1.7.9.5