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

15 lines
239 B
Lua
Raw Normal View History

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