Adium

Changeset 14

Show
Ignore:
Timestamp:
12/15/2002 11:16:21 AM (6 years ago)
Author:
adamiser
Message:

fixed [ 654086 ] Scroll bar in contact list malfunctional

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/adium/Plugins/Standard Contact List View/AISCLOutlineView.m

    r4 r14  
    4444    [self setOutlineTableColumn:tableColumn]; 
    4545    [self setHeaderView:nil]; 
    46     [self setAutoresizingMask:(NSViewWidthSizable/* | NSViewHeightSizable*/)]; 
     46    [self setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)]; 
    4747 
    4848    //Appearance 
     
    119119}     
    120120 
     121//Override set frame size to force our rect to always be the correct height.  Without this the scrollview will stretch too tall vertically when resized beyond the bottom of our contact list. 
     122- (void)setFrame:(NSRect)frameRect 
     123{ 
     124    frameRect.size.height = [self numberOfRows] * ([self rowHeight] + [self intercellSpacing].height); 
     125    [super setFrame:frameRect]; 
     126} 
     127     
    121128//Automatically hide/show the scrollbar 
    122129- (void)frameChanged:(NSNotification *)notification