summaryrefslogtreecommitdiff
path: root/src/gui/partywindow.cpp
diff options
context:
space:
mode:
authorFreeyorp <Freeyorp101@NOSPAM@hotmail.com>2009-05-14 00:38:08 +1200
committerJared Adams <jaxad0127@gmail.com>2009-05-13 07:30:28 -0600
commit639260f2e7cccee8092c6ba51db8f1a6e7152fa4 (patch)
tree1c3bd7157cdd2790b28f73eb6966cf4314753001 /src/gui/partywindow.cpp
parentf19d3f4db065472141b9c6bdf63726138006cb14 (diff)
downloadmana-639260f2e7cccee8092c6ba51db8f1a6e7152fa4.tar.gz
mana-639260f2e7cccee8092c6ba51db8f1a6e7152fa4.tar.bz2
mana-639260f2e7cccee8092c6ba51db8f1a6e7152fa4.tar.xz
mana-639260f2e7cccee8092c6ba51db8f1a6e7152fa4.zip
Modify PartyWindow sizing again
Rather than expanding PartyWindow again, call mLabel->adjustSize(); and let players resize the window if they need to. Also shrink the minimum size of the PartyWindow.
Diffstat (limited to 'src/gui/partywindow.cpp')
-rw-r--r--src/gui/partywindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/partywindow.cpp b/src/gui/partywindow.cpp
index 8958c1ec..fdfe5a54 100644
--- a/src/gui/partywindow.cpp
+++ b/src/gui/partywindow.cpp
@@ -53,9 +53,9 @@ PartyWindow::PartyWindow() :
setResizable(true);
setSaveVisible(true);
setCloseButton(true);
- setMinWidth(212);
+ setMinWidth(120);
setMinHeight(200);
- setDefaultSize(590, 200, 212, 200);
+ setDefaultSize(590, 200, 120, 200);
loadWindowState();
}