optimize UIWidget for largers NPC trades

This commit is contained in:
Eduardo Bart
2012-04-30 03:34:29 -03:00
parent ec9ea9e33d
commit 3f689e0edf
3 changed files with 19 additions and 5 deletions

View File

@@ -148,7 +148,7 @@ local function refreshTradeItems()
for key,item in pairs(currentTradeItems) do
local itemBox = createWidget('NPCItemBox', itemsPanel)
itemBox.item = item
local name = item.name
local weight = string.format('%.2f', item.weight) .. ' ' .. WEIGHT_UNIT
local price = item.price .. ' ' .. CURRENCY

View File

@@ -19,7 +19,7 @@ NPCItemBox < UICheckBox
anchors.horizontalCenter: parent.horizontalCenter
margin-top: 5
$checked:
$checked:
border-color: #ffffff
$hover !checked: