2
0
mirror of https://github.com/koreader/koreader synced 2024-11-18 03:25:46 +00:00
koreader/frontend/ui/widget/verticalspan.lua
2014-03-13 21:52:43 +08:00

15 lines
239 B
Lua

local Widget = require("ui/widget/widget")
--[[
Dummy Widget that reserves vertical space
--]]
local VerticalSpan = Widget:new{
width = 0,
}
function VerticalSpan:getSize()
return {w = 0, h = self.width}
end
return VerticalSpan