From The Mana World
Revision as of 11:08, 10 May 2009 by Freeyorp (talk | contribs) (New page: <pre> From 9ff6fe9f47e96a7b5247d529b4aa547c9e9c49d2 Mon Sep 17 00:00:00 2001 From: Freeyorp <Freeyorp101@NOSPAM@hotmail.com> Date: Sun, 10 May 2009 19:23:18 +1200 Subject: [PATCH] Expand t...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
From 9ff6fe9f47e96a7b5247d529b4aa547c9e9c49d2 Mon Sep 17 00:00:00 2001
From: Freeyorp <Freeyorp101@NOSPAM@hotmail.com>
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