User:Freeyorp/Patches/Stop names in the PartyWindow from being cut off/
From The Mana World
Pushed as f3ab737d9d508aaa25b01b462fa9c8f6c7a0d5d2
From 9ff6fe9f47e96a7b5247d529b4aa547c9e9c49d2 Mon Sep 17 00:00:00 2001 From: Freeyorp <Freeyorp101@[email protected]> Date: Sun, 10 May 2009 19:23:18 +1200 Subject: [PATCH] Expand the label in the party window to stop names being cut off. Lots of space has been left to compensate for planned additon of hp/maxhp to the same line. --- src/gui/widgets/avatar.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/widgets/avatar.cpp b/src/gui/widgets/avatar.cpp index 55b1716..8cb23a3 100644 --- a/src/gui/widgets/avatar.cpp +++ b/src/gui/widgets/avatar.cpp @@ -37,7 +37,7 @@ Avatar::Avatar(const std::string &name): mName(name) { setOpaque(false); - setSize(110, 12); + setSize(200, 12); if (avatarCount == 0) { @@ -54,8 +54,8 @@ Avatar::Avatar(const std::string &name): add(mStatus, 1, 0); mLabel = new Label(name); - mLabel->setSize(85, 12); - add(mLabel, 14, 0); + mLabel->setSize(174, 12); + add(mLabel, 16, 0); } Avatar::~Avatar() -- 1.6.0.4