User:Freeyorp/Patches/Expand PartyWindow label again
From The Mana World
Pushed as eac0ebd493f6be170c8caa8df21ae147b1486d50
From 9af0da3b6aef976323cc53784deeb95af5ac385d Mon Sep 17 00:00:00 2001 From: Freeyorp <Freeyorp101@[email protected]> Date: Mon, 11 May 2009 17:14:03 +1200 Subject: [PATCH] Expand the label in the party window to stop names from being cut off (again) Since there are now brackets around the hp values, we need the room for them, too. --- src/gui/partywindow.cpp | 4 ++-- src/gui/widgets/avatar.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/partywindow.cpp b/src/gui/partywindow.cpp index dbd8f3e..a5080f3 100644 --- a/src/gui/partywindow.cpp +++ b/src/gui/partywindow.cpp @@ -49,9 +49,9 @@ PartyWindow::PartyWindow() : setResizable(true); setSaveVisible(true); setCloseButton(true); - setMinWidth(200); + setMinWidth(212); setMinHeight(200); - setDefaultSize(590, 200, 200, 200); + setDefaultSize(590, 200, 212, 200); loadWindowState(); setVisible(false); // Do not start out visible diff --git a/src/gui/widgets/avatar.cpp b/src/gui/widgets/avatar.cpp index 116640d..f177585 100644 --- a/src/gui/widgets/avatar.cpp +++ b/src/gui/widgets/avatar.cpp @@ -42,7 +42,7 @@ Avatar::Avatar(): mMaxHp(0) { setOpaque(false); - setSize(200, 12); + setSize(212, 12); if (avatarCount == 0) { @@ -58,7 +58,7 @@ Avatar::Avatar(): mStatus->setSize(12, 12); add(mStatus, 1, 0); mLabel = new Label; - mLabel->setSize(174, 12); + mLabel->setSize(186, 12); add(mLabel, 16, 0); } -- 1.6.0.4