Some overall fixes:

* Fix to market constraints.
* Fixed bug with skill percent not rounding.
* Dereference textEdit variable properly.
* Fix to the outfit window regarding mounts.
* Added enableResize to UIMiniWindow.
* Some minor edits.
This commit is contained in:
BeniS
2012-08-23 02:21:02 +12:00
parent 9eef114779
commit ecd1ec5c0d
8 changed files with 41 additions and 24 deletions

View File

@@ -22,7 +22,7 @@ end
function reloadContainers()
clean()
for containerid,container in pairs(g_game.getContainers()) do
for _,container in pairs(g_game.getContainers()) do
onContainerOpen(container)
end
end
@@ -91,7 +91,7 @@ function onContainerOpen(container, previousContainer)
local layout = containerPanel:getLayout()
local cellSize = layout:getCellSize()
containerWindow:setContentMinimumHeight(cellSize.height*1)
containerWindow:setContentMinimumHeight(cellSize.height)
containerWindow:setContentMaximumHeight(cellSize.height*layout:getNumLines())
if not previousContainer then