Changeset 5072


Ignore:
Timestamp:
Feb 19, 2008, 5:49:41 AM (14 years ago)
Author:
livings124
Message:

small height adjustment

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r5071 r5072  
    24772477- (id) outlineView: (NSOutlineView *) outlineView objectValueForTableColumn: (NSTableColumn *) tableColumn byItem: (id) item
    24782478{
    2479     if (![item isKindOfClass: [Torrent class]])
     2479    if (tableColumn)
    24802480    {
    24812481        NSString * ident = [tableColumn identifier];
     
    24892489        {
    24902490            int group = [[item objectForKey: @"Group"] intValue];
    2491             if (group == -1)
    2492                 return [NSImage imageNamed: NSImageNameStopProgressTemplate];
    2493             else
    2494                 return [[GroupsWindowController groups] imageForIndex: group isSmall: YES];
     2491            return group != -1 ? [[GroupsWindowController groups] imageForIndex: group isSmall: YES]
     2492                                : [NSImage imageNamed: NSImageNameStopProgressTemplate];
    24952493        }
    24962494        else if ([ident isEqualToString: @"UL Image"])
  • trunk/macosx/TorrentCell.m

    r4946 r5072  
    4646#define PADDING_BETWEEN_IMAGE_AND_TITLE 5.0
    4747#define PADDING_BETWEEN_IMAGE_AND_BAR 7.0
    48 #define PADDING_ABOVE_TITLE 2.0
     48#define PADDING_ABOVE_TITLE 4.0
    4949#define PADDING_ABOVE_MIN_STATUS 4.0
    5050#define PADDING_BETWEEN_TITLE_AND_MIN_STATUS 2.0
Note: See TracChangeset for help on using the changeset viewer.