summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-07 22:20:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-07 22:20:18 +0300
commit735d4e21a70e3118c65fec6f9e00257a471cd38a (patch)
tree798fa9a82a1d4c0ea6a8460101120f31c0266403 /src/gui/windows
parent6e2a02c73e54648c7eefe2cb8cfc99a285fed868 (diff)
downloadplus-735d4e21a70e3118c65fec6f9e00257a471cd38a.tar.gz
plus-735d4e21a70e3118c65fec6f9e00257a471cd38a.tar.bz2
plus-735d4e21a70e3118c65fec6f9e00257a471cd38a.tar.xz
plus-735d4e21a70e3118c65fec6f9e00257a471cd38a.zip
Fix buttons position in npc dialog with visible avatar and input fields.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/npcdialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index bda9b3039..f81b3c9a7 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -797,9 +797,9 @@ void NpcDialog::placeTextInputControls()
{
place(0, 0, mPlayerBox);
place(1, 0, mScrollArea, 6, 3);
- place(0, 3, mTextField, 6);
- place(0, 4, mResetButton, 2);
- place(4, 4, mClearButton, 2);
+ place(1, 3, mTextField, 6);
+ place(1, 4, mResetButton, 2);
+ place(3, 4, mClearButton, 2);
place(5, 4, mButton, 2);
}
else
@@ -821,7 +821,7 @@ void NpcDialog::placeIntInputControls()
place(1, 3, mMinusButton, 1);
place(2, 3, mIntField, 4);
place(6, 3, mPlusButton, 1);
- place(0, 4, mResetButton, 2);
+ place(1, 4, mResetButton, 2);
place(3, 4, mClearButton, 2);
place(5, 4, mButton, 2);
}