mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +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
|