Ignore:
Timestamp:
Jul 1, 2007, 3:17:01 AM (15 years ago)
Author:
livings124
Message:

fix blurry icon when resizing the creator window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/CreatorWindowController.m

    r2175 r2261  
    9494    BOOL multifile = !fInfo->isSingleFile;
    9595   
    96     #warning fix when resizing window
    97     [fIcon setImage: [[NSWorkspace sharedWorkspace] iconForFileType: multifile
    98                         ? NSFileTypeForHFSTypeCode('fldr') : [fPath pathExtension]]];
     96    NSImage * icon = [[NSWorkspace sharedWorkspace] iconForFileType: multifile
     97                        ? NSFileTypeForHFSTypeCode('fldr') : [fPath pathExtension]];
     98    [icon setSize: [fIconView frame].size];
     99    [fIconView setImage: icon];
    99100   
    100101    NSString * statusString = [NSString stringForFileSize: fInfo->totalSize];
Note: See TracChangeset for help on using the changeset viewer.