diff --git a/theme.lua b/theme.lua index 4930002..5d3601a 100644 --- a/theme.lua +++ b/theme.lua @@ -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