Adium

Changeset 23059

Show
Ignore:
Timestamp:
04/03/2008 03:51:06 PM (8 months ago)
Author:
evands
Message:

Fixed positioning of the push/pop/swap button in the text entry view. Fixes #9063

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Frameworks/Adium Framework/Source/AIMessageEntryTextView.m

    r22964 r23059  
    889889- (void)_positionIndicator:(NSNotification *)notification 
    890890{ 
    891     NSRect visRect = [[self enclosingScrollView] documentVisibleRect]; 
     891    NSRect visRect = [[self superview] bounds]; 
    892892    NSRect indFrame = [indicator frame]; 
    893      
    894     [indicator setFrameOrigin:NSMakePoint(NSMaxX(visRect) - indFrame.size.width - 2, NSMaxY(visRect) - indFrame.size.height - 2)]; 
     893    [indicator setFrameOrigin:NSMakePoint(NSMaxX(visRect) - NSWidth(indFrame) - 10, NSMaxY(visRect) - indFrame.size.height - 2)]; 
    895894    [[self enclosingScrollView] setNeedsDisplay:YES]; 
    896895}