made entries shrink when there's a scrollbar
This commit is contained in:
@@ -755,6 +755,12 @@ function Auctionator_ScrollbarUpdate()
|
|||||||
|
|
||||||
local lineEntry = getglobal("AuctionatorEntry"..line)
|
local lineEntry = getglobal("AuctionatorEntry"..line)
|
||||||
|
|
||||||
|
if numrows <= 12 then
|
||||||
|
lineEntry:SetWidth(603)
|
||||||
|
else
|
||||||
|
lineEntry:SetWidth(585)
|
||||||
|
end
|
||||||
|
|
||||||
lineEntry:SetID(dataOffset)
|
lineEntry:SetID(dataOffset)
|
||||||
|
|
||||||
if currentAuctionItemName and dataOffset <= numrows and auctionatorEntries[currentAuctionItemName][dataOffset] then
|
if currentAuctionItemName and dataOffset <= numrows and auctionatorEntries[currentAuctionItemName][dataOffset] then
|
||||||
|
|||||||
Reference in New Issue
Block a user