* And minor adjustments
This commit is contained in:
Eduardo Bart
2013-01-25 17:26:51 -02:00
parent c982ca81a5
commit 32c5f4285b
13 changed files with 121 additions and 60 deletions

View File

@@ -38,7 +38,7 @@ function UIMiniWindowContainer:fitAll(noRemoveChild)
end
end
local selfHeight = self:getHeight() - (self:getMarginTop() + self:getMarginBottom() + self:getPaddingTop() + self:getPaddingBottom())
local selfHeight = self:getHeight() - (self:getPaddingTop() + self:getPaddingBottom())
if sumHeight <= selfHeight then
return
end