From 735d4e21a70e3118c65fec6f9e00257a471cd38a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Sep 2015 22:20:18 +0300 Subject: Fix buttons position in npc dialog with visible avatar and input fields. --- src/gui/windows/npcdialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3-70-g09d2