summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-07 00:33:52 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-07 00:33:52 +0300
commit7699848c2c24822e1169e6b91db89a69345c5666 (patch)
tree0215044b6eaecb511081294402f9c787d167cb97
parent3a0168024b54cba43fb814b6ced0aad09917ea5d (diff)
downloadplus-7699848c2c24822e1169e6b91db89a69345c5666.tar.gz
plus-7699848c2c24822e1169e6b91db89a69345c5666.tar.bz2
plus-7699848c2c24822e1169e6b91db89a69345c5666.tar.xz
plus-7699848c2c24822e1169e6b91db89a69345c5666.zip
Fix npc dialog default size and position.
-rw-r--r--src/gui/npcdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index ec76ea3f5..ebcd02e7e 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -82,10 +82,10 @@ NpcDialog::NpcDialog(int npcId) :
setFocusable(true);
setStickyButtonLock(true);
- setMinWidth(620);
- setMinHeight(450);
+ setMinWidth(200);
+ setMinHeight(150);
- setDefaultSize(400, 400, ImageRect::CENTER);
+ setDefaultSize(300, 578, ImageRect::LOWER_LEFT);
mPlayerBox->setWidth(70);
mPlayerBox->setHeight(100);