Progress on issues #60, #24, #21

This commit is contained in:
Henrique Santiago
2012-08-18 02:04:01 -03:00
parent 0bb991e14e
commit ab7400c51d
11 changed files with 136 additions and 9 deletions

View File

@@ -88,6 +88,11 @@ function onContainerOpen(container, previousContainer)
container.window = containerWindow
container.itemsPanel = containerPanel
local layout = containerPanel:getLayout()
local cellSize = layout:getCellSize()
containerWindow:setContentMinimumHeight(cellSize.height*1)
containerWindow:setContentMaximumHeight(cellSize.height*layout:getNumLines())
end
function onContainerClose(container)