diff options
author | Dennis Friis <peavey@inspircd.org> | 2009-05-30 20:28:04 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-30 20:40:53 +0200 |
commit | a5bd2cc819fe36a05d5f8de0bb4a7e368706b1c4 (patch) | |
tree | 1d2adb2107b5040ec4a3774b4a1aea3e893408b9 | |
parent | ea19cc001837b5ab4625d0c7f100b445e396eaad (diff) | |
download | mana-a5bd2cc819fe36a05d5f8de0bb4a7e368706b1c4.tar.gz mana-a5bd2cc819fe36a05d5f8de0bb4a7e368706b1c4.tar.bz2 mana-a5bd2cc819fe36a05d5f8de0bb4a7e368706b1c4.tar.xz mana-a5bd2cc819fe36a05d5f8de0bb4a7e368706b1c4.zip |
Fix offsets on party window status indicator buttons.
Patch by QOAL
(cherry picked from commit 914a7703371a69e6d68b2a8a768f82f62fe11476)
-rw-r--r-- | src/gui/widgets/avatar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/avatar.cpp b/src/gui/widgets/avatar.cpp index f7273c75..cf6df0b6 100644 --- a/src/gui/widgets/avatar.cpp +++ b/src/gui/widgets/avatar.cpp @@ -59,9 +59,9 @@ Avatar::Avatar(): mLabel->adjustSize(); mStatus = new Icon(avatarStatusOffline); - mStatus->setSize(12, 12); + mStatus->setSize(10, 10); - add(mStatus, 1, (mLabel->getHeight() - 12) / 2); + add(mStatus, 4, (mLabel->getHeight() - 10) / 2); add(mLabel, 16, 0); setSize(250, mLabel->getHeight()); |