From 914bf451515ce5c242b33c0efce7136968d7339b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 10 Jun 2008 14:33:58 -0400 Subject: [PATCH] Auto-hide the scrollbars in BSSourceView * Source/BSSourceView.m: (setupViews) --- Source/BSSourceView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/BSSourceView.m b/Source/BSSourceView.m index cf0d7e4..46b8396 100644 --- a/Source/BSSourceView.m +++ b/Source/BSSourceView.m @@ -94,9 +94,10 @@ scrollView = [[NSScrollView alloc] initWithFrame:scrollFrame]; [scrollView setHasHorizontalScroller:YES]; [scrollView setHasVerticalScroller:YES]; + [scrollView setAutohidesScrollers:YES]; [scrollView setBorderType:NSBezelBorder]; [scrollView setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)]; - [[scrollView contentView] setAutoresizesSubviews:YES]; + [[scrollView contentView] setAutoresizesSubviews:YES]; [self addSubview:scrollView]; // add the text view to the scroll view -- 2.43.5