summaryrefslogtreecommitdiff
path: root/src/gui/widgets/characterdisplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/characterdisplay.cpp')
-rw-r--r--src/gui/widgets/characterdisplay.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/characterdisplay.cpp b/src/gui/widgets/characterdisplay.cpp
index bff28b374..23a22fbbb 100644
--- a/src/gui/widgets/characterdisplay.cpp
+++ b/src/gui/widgets/characterdisplay.cpp
@@ -50,7 +50,10 @@ CharacterDisplay::CharacterDisplay(const Widget2 *const widget,
mName->setAlignment(Graphics::CENTER);
mName->adjustSize();
- setWidth(80);
+ if (mainGraphics->getWidth() > 800)
+ setWidth(120);
+ else
+ setWidth(80);
setHeight(120);
}