diff --git a/ChangeLog b/ChangeLog index 2a4bc7b7c..e546bed35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-08-03 Riccardo Mottola + + * Source/NSScrollView.m : + added documentation for scroller hiding. + 2010-08-03 17:21-EDT Gregory John Casamento * Source/GSTheme.m: remove forward declaration for _setArchiveByName diff --git a/Source/NSScrollView.m b/Source/NSScrollView.m index ce4c0110e..cf5febfda 100644 --- a/Source/NSScrollView.m +++ b/Source/NSScrollView.m @@ -379,11 +379,20 @@ static float scrollerWidth; [self tile]; } +/** +

Return wether scroller autohiding is set or not.

+

See Also: -setAutohidesScrollers:

+*/ - (BOOL) autohidesScrollers { return _autohidesScrollers; } +/** +

Sets whether the view hides the scrollers (horizontal and/or vertical independendently) if they are not needed.

+

If the content fits inside the clip view on the X or Y axis or both, the respective scroller is removed and additional space is gained.

+

See Also: -autohidesScrollers

+ */ - (void) setAutohidesScrollers: (BOOL)flag { _autohidesScrollers = flag;