mirror of
https://github.com/koreader/koreader
synced 2024-11-16 06:12:56 +00:00
16 lines
266 B
Lua
16 lines
266 B
Lua
local Widget = require("ui/widget/widget")
|
|
|
|
--[[
|
|
Dummy Widget that reserves vertical and horizontal space
|
|
]]
|
|
local RectSpan = Widget:new{
|
|
width = 0,
|
|
hright = 0,
|
|
}
|
|
|
|
function RectSpan:getSize()
|
|
return {w = self.width, h = self.height}
|
|
end
|
|
|
|
return RectSpan
|