Oops let me try a little formatting
And BTW this does not restore the "Scan" button. May have to wait on Auctioneer authors to come up with a fix for that, unless...
3. Replace it with:
Code:
function Auctioneer_ConfigureAH()
if (AuctionsPriceText ~= nil) then
AuctionsPriceText:ClearAllPoints();
AuctionsPriceText:SetPoint("TOPLEFT", "AuctionsItemText", "TOPLEFT", 0, -56);
end
if (AuctionsBuyoutText ~= nil) then
AuctionsBuyoutText:ClearAllPoints();
AuctionsBuyoutText:SetPoint("TOPLEFT", "AuctionsPriceText", "TOPLEFT", 0, -36);
end
if (AuctionsBuyoutErrorText ~= nil) then
AuctionsBuyoutErrorText:ClearAllPoints();
AuctionsBuyoutErrorText:SetPoint("TOPLEFT", "AuctionsBuyoutText", "TOPLEFT", 0, -32);
end
if (AuctionsDurationText ~= nil) then
AuctionsDurationText:ClearAllPoints();
AuctionsDurationText:SetPoint("TOPLEFT", "AuctionsBuyoutErrorText", "TOPLEFT", 0, -10);
end
if (AuctionsDepositText ~= nil) then
AuctionsDepositText:ClearAllPoints();
AuctionsDepositText:SetPoint("TOPLEFT", "AuctionsDurationText", "TOPLEFT", 0, -34);
end
if (AuctionInfo ~= nil) then
AuctionInfo:ClearAllPoints();
AuctionInfo:SetPoint("TOPLEFT", "AuctionsDepositText", "TOPLEFT", -4, -36);
end
if (AuctionsShortAuctionButtonText ~= nil) then
AuctionsShortAuctionButtonText:SetText("2");
end
if (AuctionsMediumAuctionButtonText ~= nil) then
AuctionsMediumAuctionButtonText:SetText("8");
AuctionsMediumAuctionButton:ClearAllPoints();
AuctionsMediumAuctionButton:SetPoint("BOTTOMLEFT", "AuctionsShortAuctionButton", "BOTTOMRIGHT", 20,0);
end
if (AuctionsLongAuctionButtonText ~= nil) then
AuctionsLongAuctionButtonText:SetText("24 "..HOURS);
AuctionsLongAuctionButton:ClearAllPoints();
AuctionsLongAuctionButton:SetPoint("BOTTOMLEFT", "AuctionsMediumAuctionButton", "BOTTOMRIGHT", 20,0);
end
-- set UI-texts
BrowseScanButton:SetText(AUCT_TEXT_SCAN);
end