diff options
Diffstat (limited to 'src/gui/widgets/characterdisplay.cpp')
-rw-r--r-- | src/gui/widgets/characterdisplay.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/characterdisplay.cpp b/src/gui/widgets/characterdisplay.cpp index d88334973..9d409a6bb 100644 --- a/src/gui/widgets/characterdisplay.cpp +++ b/src/gui/widgets/characterdisplay.cpp @@ -102,6 +102,8 @@ void CharacterDisplay::update() mName->setCaption(mCharacter->dummy->getName()); else mName->setCaption(""); + const int width = mPlayerBox->getWidth(); + mName->resizeTo(width, width); distributeResizedEvent(); } |