mirror of https://gitea.it/1414codeforge/yui
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
273 B
Lua
15 lines
273 B
Lua
2 years ago
|
local BASE = (...):gsub('spacer', '')
|
||
|
|
||
|
local Widget = require BASE..'widget'
|
||
|
|
||
|
-- Spacers don't accept focus
|
||
|
local Spacer = setmetatable({ nofocus = true }, Widget)
|
||
|
Spacer.__index = Spacer
|
||
|
|
||
|
|
||
|
function Spacer.new(args)
|
||
|
return setmetatable(args, Spacer)
|
||
|
end
|
||
|
|
||
|
return Spacer
|