summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/TEWidget.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.cpp b/core/apps/embeddedkonsole/TEWidget.cpp
index c220e11..23720cd 100644
--- a/core/apps/embeddedkonsole/TEWidget.cpp
+++ b/core/apps/embeddedkonsole/TEWidget.cpp
@@ -1201,7 +1201,11 @@ void TEWidget::calcGeometry()
hScrollbar->setRange(0, vcolumns - dcolumns);
QPoint p = contentsRect().bottomLeft();
- hScrollbar->move(QPoint(p.x(), p.y() - hwidth));
+ if(scrollLoc == SCRLEFT)
+ hScrollbar->move(QPoint(p.x()+hwidth, p.y() - hwidth));
+ else
+ hScrollbar->move(QPoint(p.x(), p.y() - hwidth));
+
hScrollbar->show();
}
else hScrollbar->hide();