bug fixes storage mgr
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user