mirror of
https://github.com/koreader/koreader
synced 2024-11-11 19:11:14 +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
|