Ignore:
Timestamp:
Apr 1, 2010, 2:34:29 AM (12 years ago)
Author:
livings124
Message:

make text fields truncate in the middle instead of end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentCell.m

    r10426 r10432  
    100100       
    101101        NSMutableParagraphStyle * paragraphStyle = [[NSParagraphStyle defaultParagraphStyle] mutableCopy];
    102         [paragraphStyle setLineBreakMode: NSLineBreakByTruncatingTail];
     102        [paragraphStyle setLineBreakMode: NSLineBreakByTruncatingMiddle];
    103103       
    104104        fTitleAttributes = [[NSMutableDictionary alloc] initWithCapacity: 3];
Note: See TracChangeset for help on using the changeset viewer.