summaryrefslogtreecommitdiff
Unidiff
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()
1201 hScrollbar->setRange(0, vcolumns - dcolumns); 1201 hScrollbar->setRange(0, vcolumns - dcolumns);
1202 1202
1203 QPoint p = contentsRect().bottomLeft(); 1203 QPoint p = contentsRect().bottomLeft();
1204 hScrollbar->move(QPoint(p.x(), p.y() - hwidth)); 1204 if(scrollLoc == SCRLEFT)
1205 hScrollbar->move(QPoint(p.x()+hwidth, p.y() - hwidth));
1206 else
1207 hScrollbar->move(QPoint(p.x(), p.y() - hwidth));
1208
1205 hScrollbar->show(); 1209 hScrollbar->show();
1206 } 1210 }
1207 else hScrollbar->hide(); 1211 else hScrollbar->hide();