From cbb6335e174d2c06ea3cdeb4e21e4fd4f89c9227 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 19 Sep 2002 02:49:13 +0000 Subject: Removed last vestiges of scrollbars when turned off. --- gtk/ScintillaGTK.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk') 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; } -- cgit v1.2.3