mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
fix styling & add missing lines regarding max proficency
This commit is contained in:
parent
f31e5ba85e
commit
421b92ae05
@ -237,7 +237,18 @@ namespace MWGui
|
|||||||
nameWidget->setSize(nameWidget->getWidth() - (widthAfter-widthBefore), nameWidget->getHeight());
|
nameWidget->setSize(nameWidget->getWidth() - (widthAfter-widthBefore), nameWidget->getHeight());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value.getBase() < 100) {
|
if (value.getBase() < 100)
|
||||||
|
{
|
||||||
|
nameWidget->setUserString("Visible_SkillMaxed", "false");
|
||||||
|
nameWidget->setUserString("UserData^Hidden_SkillMaxed", "true");
|
||||||
|
nameWidget->setUserString("Visible_SkillProgressVBox", "true");
|
||||||
|
nameWidget->setUserString("UserData^Hidden_SkillProgressVBox", "false");
|
||||||
|
|
||||||
|
valueWidget->setUserString("Visible_SkillMaxed", "false");
|
||||||
|
valueWidget->setUserString("UserData^Hidden_SkillMaxed", "true");
|
||||||
|
valueWidget->setUserString("Visible_SkillProgressVBox", "true");
|
||||||
|
valueWidget->setUserString("UserData^Hidden_SkillProgressVBox", "false");
|
||||||
|
|
||||||
setSkillProgress(nameWidget, value.getProgress(), parSkill);
|
setSkillProgress(nameWidget, value.getProgress(), parSkill);
|
||||||
setSkillProgress(valueWidget, value.getProgress(), parSkill);
|
setSkillProgress(valueWidget, value.getProgress(), parSkill);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user