In order to solve this, in the AZUI folder, search unitview.lua.
- Code: Select all
for i = 1, 6 do
controls.statGroups[i] = {}
controls.statGroups[i].icon = Bitmap(controls.bg)
controls.statGroups[i].value = UIUtil.CreateText(controls.statGroups[i].icon, '', 12, UIUtil.bodyFont)
if i == 1 then
controls.statGroups[i].color = Bitmap(controls.bg)
LayoutHelpers.FillParent(controls.statGroups[i].color, controls.statGroups[i].icon)
controls.statGroups[i].color.Depth:Set(function() return controls.statGroups[i].icon.Depth() - 1 end)
end
end
Need to be replaced by
- Code: Select all
for i = 1, 7 do
controls.statGroups[i] = {}
controls.statGroups[i].icon = Bitmap(controls.bg)
controls.statGroups[i].value = UIUtil.CreateText(controls.statGroups[i].icon, '', 12, UIUtil.bodyFont)
if i == 1 then
controls.statGroups[i].color = Bitmap(controls.bg)
LayoutHelpers.FillParent(controls.statGroups[i].color, controls.statGroups[i].icon)
controls.statGroups[i].color.Depth:Set(function() return controls.statGroups[i].icon.Depth() - 1 end)
end
end
(6 instead of 7, no other change)