Ignore:
Timestamp:
Oct 7, 2007, 4:16:58 AM (15 years ago)
Author:
livings124
Message:

adjust tab button layout a bit to avoid overlaps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r3304 r3310  
    800800            return;
    801801    }
    802    
    803     //change selected tab item
    804     if (oldTabTag != INVALID)
    805         [(InfoTabButtonCell *)[fTabMatrix cellWithTag: oldTabTag] setSelectedTab: NO];
    806     [(InfoTabButtonCell *)[fTabMatrix selectedCell] setSelectedTab: YES];
    807802       
    808803    [[NSUserDefaults standardUserDefaults] setObject: identifier forKey: @"InspectorSelected"];
     
    880875    [[window contentView] addSubview: view];
    881876    [view setHidden: NO];
     877   
     878    //change selected tab item
     879    if (oldTabTag != INVALID)
     880        [(InfoTabButtonCell *)[fTabMatrix cellWithTag: oldTabTag] setSelectedTab: NO];
     881    [(InfoTabButtonCell *)[fTabMatrix selectedCell] setSelectedTab: YES];
    882882}
    883883
Note: See TracChangeset for help on using the changeset viewer.