mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
361 B
Lua
28 lines
361 B
Lua
require "ui/widget/base"
|
|
|
|
|
|
--[[
|
|
Dummy Widget that reserves horizontal space
|
|
--]]
|
|
HorizontalSpan = Widget:new{
|
|
width = 0,
|
|
}
|
|
|
|
function HorizontalSpan:getSize()
|
|
return {w = self.width, h = 0}
|
|
end
|
|
|
|
|
|
--[[
|
|
Dummy Widget that reserves vertical space
|
|
--]]
|
|
VerticalSpan = Widget:new{
|
|
width = 0,
|
|
}
|
|
|
|
function VerticalSpan:getSize()
|
|
return {w = 0, h = self.width}
|
|
end
|
|
|
|
|