fix missing underline in config window
This commit is contained in:
1 parent
2b29c70250
commit
8c73c19e50
1 file changed
+2
-6
@@ -204,16 +204,12 @@ UnderlineContainer = WidgetContainer:new{
|
||||
}
|
||||
|
||||
function UnderlineContainer:getSize()
|
||||
if self.dimen then
|
||||
return { w = self.dimen.w, h = self.dimen.h }
|
||||
else
|
||||
return self:getContentSize()
|
||||
end
|
||||
return self:getContentSize()
|
||||
end
|
||||
|
||||
function UnderlineContainer:getContentSize()
|
||||
local contentSize = self[1]:getSize()
|
||||
return {
|
||||
return Geom:new{
|
||||
w = contentSize.w,
|
||||
h = contentSize.h + self.linesize + self.padding
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user