From 3a992ce76d2c9261bcf35d9123d8c77a4c227eeb Mon Sep 17 00:00:00 2001 From: random-geek <35757396+random-geek@users.noreply.github.com> Date: Tue, 6 Nov 2018 14:28:34 -0800 Subject: Formspecs: Fix text clipped by scrollbars (#7816) --- src/gui/intlGUIEditBox.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/intlGUIEditBox.cpp') 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 scrollbarrect = FrameRect; scrollbarrect.UpperLeftCorner.X += FrameRect.getWidth() - m_scrollbar_width; m_vscrollbar = Environment->addScrollBar(false, scrollbarrect, getParent(), getID()); -- cgit v1.2.3