Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
77ce0888
Commit
77ce0888
authored
Oct 15, 2019
by
Mariusz Glebocki
Committed by
Kurt Hindenburg
Oct 16, 2019
Browse files
Fix scrollbar position
BUG: 412348
(cherry picked from commit
ef13a09e
)
parent
1561f620
Changes
1
Show whitespace changes
Inline
Side-by-side
src/TerminalDisplay.cpp
View file @
77ce0888
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment