Adium

Changeset 23060

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

Merged [23059]: Fixed positioning of the push/pop/swap button in the text entry view. Fixes #9063

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/adium-1.2/Frameworks/Adium Framework/Source/AIMessageEntryTextView.m

    r22965 r23060  
    884884- (void)_positionIndicator:(NSNotification *)notification 
    885885{ 
    886     NSRect visRect = [[self enclosingScrollView] documentVisibleRect]; 
     886    NSRect visRect = [[self superview] bounds]; 
    887887    NSRect indFrame = [indicator frame]; 
    888      
    889     [indicator setFrameOrigin:NSMakePoint(NSMaxX(visRect) - indFrame.size.width - 2, NSMaxY(visRect) - indFrame.size.height - 2)]; 
     888    [indicator setFrameOrigin:NSMakePoint(NSMaxX(visRect) - NSWidth(indFrame) - 10, NSMaxY(visRect) - indFrame.size.height - 2)]; 
    890889    [[self enclosingScrollView] setNeedsDisplay:YES]; 
    891890}