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

15 lines
233 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{
width = 0,
}
function VerticalSpan:getSize()
return {w = 0, h = self.width}
end
return VerticalSpan