aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-09-19 02:49:13 +0000
committernyamatongwe <devnull@localhost>2002-09-19 02:49:13 +0000
commitcbb6335e174d2c06ea3cdeb4e21e4fd4f89c9227 (patch)
tree3cd85e6cd793fdea506d450ecbd8854289f08418
parent28522a77df9f7c6b61ff3a30d2580d771ff7a367 (diff)
downloadscintilla-mirror-cbb6335e174d2c06ea3cdeb4e21e4fd4f89c9227.tar.gz
Removed last vestiges of scrollbars when turned off.
-rw-r--r--gtk/ScintillaGTK.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 1e67e44be..349a98292 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -1097,7 +1097,7 @@ void ScintillaGTK::Resize(int width, int height) {
alloc.width = Platform::Maximum(1, width - scrollBarWidth) + 1;
alloc.height = horizontalScrollBarHeight;
} else {
- alloc.y = height;
+ alloc.y = -scrollBarHeight;
alloc.width = 0;
alloc.height = 0;
}
@@ -1109,7 +1109,7 @@ void ScintillaGTK::Resize(int width, int height) {
alloc.width = scrollBarWidth;
alloc.height = Platform::Maximum(1, height - scrollBarHeight) + 1;
} else {
- alloc.x = width;
+ alloc.x = -scrollBarWidth;
alloc.width = 0;
alloc.height = 0;
}