Changeset 13660


Ignore:
Timestamp:
Dec 13, 2012, 1:38:58 PM (8 years ago)
Author:
livings124
Message:

don't do layout in code until localizations are updated

Location:
branches/2.7x/macosx
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7x/macosx/AddMagnetWindowController.m

    r13602 r13660  
    9898   
    9999    #warning when 10.7-only, switch to auto layout
    100     [fMagnetLinkLabel sizeToFit];
     100    /*[fMagnetLinkLabel sizeToFit];
    101101   
    102102    const CGFloat downloadToLabelOldWidth = [fDownloadToLabel frame].size.width;
     
    152152    [fCancelButton setFrame: cancelButtonFrame];
    153153   
    154     [fStartCheck sizeToFit];
     154    [fStartCheck sizeToFit];*/
    155155}
    156156
  • branches/2.7x/macosx/InfoActivityViewController.m

    r13601 r13660  
    5858    [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(updatePiecesView) name: @"UpdatePiecesView" object: nil];
    5959   
    60     [fTransferSectionLabel sizeToFit];
     60    /*[fTransferSectionLabel sizeToFit];
    6161    [fDatesSectionLabel sizeToFit];
    6262    [fTimeSectionLabel sizeToFit];
     
    9595        frame.size.width -= widthIncrease;
    9696        [field setFrame: frame];
    97     }
     97    }*/
    9898}
    9999
  • branches/2.7x/macosx/InfoGeneralViewController.m

    r13601 r13660  
    5151    [super dealloc];
    5252}
    53 
     53/*
    5454- (void) awakeFromNib
    5555{
     
    9393    }
    9494}
    95 
     95*/
    9696- (void) setInfoForTorrents: (NSArray *) torrents
    9797{
  • branches/2.7x/macosx/InfoOptionsViewController.m

    r13601 r13660  
    6363    [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(setGlobalLabels) name: @"UpdateGlobalOptions" object: nil];
    6464    [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(updateOptionsNotification:) name: @"UpdateOptionsNotification" object: nil];
    65    
     65    /*
    6666    #warning remove when 10.7-only with auto layout
    6767    const CGFloat padding = 6.0; //this shows as 8 in IB
     
    129129    NSRect peersConnectLabelFrame = [fPeersConnectLabel frame];
    130130    peersConnectLabelFrame.origin.x = NSMaxX(peersConnectFrame) + padding;
    131     [fPeersConnectLabel setFrame: peersConnectLabelFrame];
     131    [fPeersConnectLabel setFrame: peersConnectLabelFrame];*/
    132132}
    133133
Note: See TracChangeset for help on using the changeset viewer.