Spellview fixes

pull/242/head
Andrei Kortunov 8 years ago
parent 9179a019df
commit 2b22d10ebc

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

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<MyGUI type="Layout"> <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"> <Widget type="TextBox" skin="SandText" position="8 8 292 24">
<Property key="Caption" value="#{sMagicSelectTitle}"/> <Property key="Caption" value="#{sMagicSelectTitle}"/>

Loading…
Cancel
Save