mirror of
https://github.com/koreader/koreader
synced 2024-11-04 12:00:25 +00:00
15 lines
247 B
Lua
15 lines
247 B
Lua
local Widget = require("ui/widget/widget")
|
|
|
|
--[[
|
|
Dummy Widget that reserves horizontal space
|
|
--]]
|
|
local HorizontalSpan = Widget:new{
|
|
width = 0,
|
|
}
|
|
|
|
function HorizontalSpan:getSize()
|
|
return {w = self.width, h = 0}
|
|
end
|
|
|
|
return HorizontalSpan
|