Commit 77ce0888 authored by Mariusz Glebocki's avatar Mariusz Glebocki Committed by Kurt Hindenburg
Browse files

Fix scrollbar position

BUG: 412348
(cherry picked from commit ef13a09e)
parent 1561f620
...@@ -1971,7 +1971,7 @@ void TerminalDisplay::calcGeometry() ...@@ -1971,7 +1971,7 @@ void TerminalDisplay::calcGeometry()
break; break;
case Enum::ScrollBarRight: case Enum::ScrollBarRight:
_contentRect.setRight(_contentRect.right() - _scrollBar->width()); _contentRect.setRight(_contentRect.right() - _scrollBar->width());
_scrollBar->move(contentsRect().right() - _scrollBar->width() - 1, _scrollBar->move(contentsRect().left() + contentsRect().width() - _scrollBar->width(),
contentsRect().top() + headerHeight); contentsRect().top() + headerHeight);
break; break;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment