Tweak theme: Larger space between checkbox and label

This commit is contained in:
Matthias Richter 2016-01-16 02:35:12 +01:00
parent 4f3d285218
commit 4ac0f37097

View file

@ -69,7 +69,7 @@ function theme.Checkbox(chk, opt, x,y,w,h)
if chk.text then
love.graphics.setFont(opt.font)
y = y + theme.getVerticalOffsetForAlign(opt.valign, opt.font, h)
love.graphics.printf(chk.text, x + th+2, y, w - th+2, opt.align or "left")
love.graphics.printf(chk.text, x + h, y, w - h, opt.align or "left")
end
end