HeroLib

HeroLib

2M Downloads

GUI/Panel.lua | Width instead of height

Voopie opened this issue ยท 1 comments

commented

I take it this is a copy-paste? ^^

if Height then
Button:SetWidth(Height)
else
Button:SetWidth(150)
end

From here:

if Width then
Button:SetWidth(Width)
else
Button:SetWidth(20)
end

And strange defaults - maybe switch them?

Or I am wrong? :)

commented

Fixed in 1cc7062
Thank you @Voopie