summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/TEWidget.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/TEWidget.cpp b/noncore/apps/opie-console/TEWidget.cpp
index 2db214c..d1ff85e 100644
--- a/noncore/apps/opie-console/TEWidget.cpp
+++ b/noncore/apps/opie-console/TEWidget.cpp
@@ -1160,2 +1160,6 @@ void TEWidget::calcGeometry()
+ if(!showhscrollbar) cornerButton()->move(0, 0);
+ else cornerButton()->move(contentsRect().width() - hwidth, contentsRect().height() - hwidth);
+
+
if(showhscrollbar == 1)
@@ -1209,4 +1213,4 @@ void TEWidget::calcGeometry()
{
- //bY = bY - 10;
- lines = lines - 1;
+ lines = lines - (hwidth / font_h) - 1;
+ if(lines < 1) lines = 1;
}