Skip to content

Commit

Permalink
working (but ugly) list view implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidan committed Nov 29, 2023
1 parent 09f80c6 commit 2911b24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frames/itemrow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ function itemRowProto:SetItem(i)
self.text:SetText(i:GetItemName())
self.frame:Show()
self.rowButton:Show()
_G[self.rowButton:GetName().."NormalTexture"]:Hide()

end

function itemRowProto:ClearItem()
Expand Down Expand Up @@ -133,9 +135,8 @@ function item:_DoCreate()
text:SetPoint("RIGHT", i.frame, "RIGHT")
text:SetHeight(30)
i.text = text
i.frame:SetSize(300, 45)
i.frame:SetSize(350, 45)

--i.rowButton:SetScript("OnScroll", function(...) p.c.f)
return i
end

Expand Down

0 comments on commit 2911b24

Please sign in to comment.