Files
koreader/frontend/ui/widget/verticalspan.lua

15 lines
239 B
Lua
Raw Normal View History

2013-10-18 22:38:07 +02:00
local Widget = require("ui/widget/widget")
--[[
Dummy Widget that reserves vertical space
--]]
local VerticalSpan = Widget:new{
2014-03-13 21:52:43 +08:00
width = 0,
2013-10-18 22:38:07 +02:00
}
function VerticalSpan:getSize()
2014-03-13 21:52:43 +08:00
return {w = 0, h = self.width}
2013-10-18 22:38:07 +02:00
end
return VerticalSpan