fixed checkbox width

This commit is contained in:
Mikayla Fischler 2023-12-13 12:20:12 -05:00
parent e1ed9a8e5e
commit fa0185c9a4
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ local flasher = require("graphics.flasher")
local core = {}
core.version = "2.0.7"
core.version = "2.0.8"
core.flasher = flasher
core.events = events

View File

@ -24,7 +24,7 @@ local function checkbox(args)
args.can_focus = true
args.height = 1
args.width = 3 + string.len(args.label)
args.width = 2 + string.len(args.label)
-- create new graphics element base object
local e = element.new(args)