Fixed bugs in resizing

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10157 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-06-10 17:38:19 +00:00
parent 4555623c83
commit c20baa2698

View file

@ -2542,7 +2542,6 @@ static float scrollerWidth; // == [NSScroller scrollerWidth]
fprintf(stderr, "NSBrowser - (void)resizeSubviewsWithOldSize\n"); fprintf(stderr, "NSBrowser - (void)resizeSubviewsWithOldSize\n");
#endif #endif
[super resizeSubviewsWithOldSize: oldSize];
[self tile]; [self tile];
} }
@ -3058,6 +3057,7 @@ static float scrollerWidth; // == [NSScroller scrollerWidth]
if (!_reusesColumns && i >= _maxVisibleColumns) if (!_reusesColumns && i >= _maxVisibleColumns)
{ {
[sc removeFromSuperview];
[_browserColumns removeObject: bc]; [_browserColumns removeObject: bc];
count--; count--;
i--; i--;