author | llornkcor <llornkcor> | 2002-11-08 13:40:06 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-08 13:40:06 (UTC) |
commit | 2aa75fdaeb219fffef86af1a2ca0aac0ac6731ce (patch) (unidiff) | |
tree | 568d62e648000ac4d8f0c909a0157af03de04298 | |
parent | ada5be67fec81ed8845a6f358bbf7e3b181d417e (diff) | |
download | opie-2aa75fdaeb219fffef86af1a2ca0aac0ac6731ce.zip opie-2aa75fdaeb219fffef86af1a2ca0aac0ac6731ce.tar.gz opie-2aa75fdaeb219fffef86af1a2ca0aac0ac6731ce.tar.bz2 |
change horz scroll position for when using left scroll
-rw-r--r-- | core/apps/embeddedkonsole/TEWidget.cpp | 6 |
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(); |