Spellview fixes

This commit is contained in:
Andrei Kortunov 2017-07-16 13:14:19 +04:00
parent 9179a019df
commit 2b22d10ebc
2 changed files with 3 additions and 3 deletions

View file

@ -96,9 +96,9 @@ namespace MWGui
if (spell.mType == Spell::Type_Power)
addGroup("#{sPowers}", "");
else if (spell.mType == Spell::Type_Spell)
addGroup("#{sSpells}", "#{sCostChance}");
addGroup("#{sSpells}", mShowCostColumn ? "#{sCostChance}" : "");
else
addGroup("#{sMagicItem}", "#{sCostCharge}");
addGroup("#{sMagicItem}", mShowCostColumn ? "#{sCostCharge}" : "");
curType = spell.mType;
}

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout">
<Widget type="Window" skin="MW_Dialog" position="0 0 330 370" layer="Windows" align="Center" name="_Main">
<Widget type="Window" skin="MW_DialogNoTransp" position="0 0 330 370" layer="Windows" align="Center" name="_Main">
<Widget type="TextBox" skin="SandText" position="8 8 292 24">
<Property key="Caption" value="#{sMagicSelectTitle}"/>