mirror of
https://codeberg.org/1414codeforge/yui.git
synced 2025-06-05 22:19:11 +02:00
[*] Initial commit.
This commit is contained in:
14
spacer.lua
Normal file
14
spacer.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
Reference in New Issue
Block a user