![]() ![]() Otherwise the second addon with # LoadWith would be required. It would be so nice to collapse most of them, leave open. For example, when I open my cooking profession window, every recipe I have ever learned in every expansion is listed. I would love to see a simple addon that remembers your profession menus and which ones were collapsed. Search:SetPoint("LEFT", self, "RIGHT", 15, 0) Request for addon that remembers profession menu collapse status. Local search = self:GetParent().SearchBox Self:SetPoint("LEFT", self:GetParent().RecipeList.UnlearnedTab, "RIGHT", 5, 0) TradeSkillFrame.RecipeList:SetCategor圜ollapsed(category, self.CQCollapsed)ĬQLTSBTN:SetScript("OnShow", function(self)ĬQLTSBTN:SetScript("OnEvent", function(self, event. and be collapsed if you are having trouble seeing your screen to move things around. make button work with left click and execute collapseĬQLPROFBTN:RegisterForClicks("LeftButtonUp")ĬQLPROFBTN:SetScript("OnClick", function() for _, category in pairs() do When you open the Game Menu, you will start to see more of the new. Print('Collapse QuestLog Button Position Reset') Slash command to reset position to default ![]() Make button draggable in case it is in the wayĬQLTSBTN:SetScript("OnDragStart", CQLTSBTN.StartMoving)ĬQLTSBTN:SetScript("OnDragStop", CQLTSBTN.StopMovingOrSizing) Set frame strata to draw over most other frames it is identical to the questlog button except for the frame name, the frame it is attached to (QuestScrollFrame instead of TradeSkillFrame) and the function in the last line is just CollapseQuestHeader(0) local CQLTSBTN = CreateFrame("Button", "CollapseButton", TradeSkillFrame, 'UIPanelButtonTemplate') This is the entirety of the code for the tradeskill button. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |