aboutsummaryrefslogtreecommitdiff
path: root/src/gui/intlGUIEditBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gui/intlGUIEditBox.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/intlGUIEditBox.cpp b/src/gui/intlGUIEditBox.cpp
index 0b7adffc4..374fcc8bb 100644
--- a/src/gui/intlGUIEditBox.cpp
+++ b/src/gui/intlGUIEditBox.cpp
@@ -1482,6 +1482,8 @@ void intlGUIEditBox::createVScrollBar()
}
}
+ RelativeRect.LowerRightCorner.X -= m_scrollbar_width + 4;
+
irr::core::rect<s32> scrollbarrect = FrameRect;
scrollbarrect.UpperLeftCorner.X += FrameRect.getWidth() - m_scrollbar_width;
m_vscrollbar = Environment->addScrollBar(false, scrollbarrect, getParent(), getID());