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

15 lines
247 B
Lua
Raw Normal View History

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