2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
koreader/frontend/ui/widget/horizontalspan.lua
2014-03-13 21:52:43 +08:00

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