bug fixes storage mgr

This commit is contained in:
kepler155c@gmail.com
2017-04-22 02:30:41 -04:00
parent 8774d98009
commit 634bdee3f2
3 changed files with 180 additions and 4 deletions

View File

@@ -1464,10 +1464,6 @@ end
function UI.Grid:setParent()
UI.Window.setParent(self)
self:update()
end
function UI.Grid:resize()
UI.Window.resize(self)
if not self.pageSize then
if self.disableHeader then
@@ -1478,6 +1474,16 @@ function UI.Grid:resize()
end
end
function UI.Grid:resize()
UI.Window.resize(self)
if self.disableHeader then
self.pageSize = self.height
else
self.pageSize = self.height - 1
end
end
function UI.Grid:adjustWidth()
if self.autospace then
for _,col in pairs(self.columns) do