Changeset 704


Ignore:
Timestamp:
Jul 29, 2006, 5:46:32 PM (15 years ago)
Author:
livings124
Message:

I left in some code I used for testing. Silly me.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r703 r704  
    4848#define TORRENT_TABLE_VIEW_DATA_TYPE    @"TorrentTableViewDataType"
    4949
    50 #define ROW_HEIGHT_REGULAR      165.0
     50#define ROW_HEIGHT_REGULAR      65.0
    5151#define ROW_HEIGHT_SMALL        40.0
    5252#define WINDOW_REGULAR_WIDTH    468.0
     
    21282128        + [fFilteredTorrents count] * ([fTableView rowHeight] + [fTableView intercellSpacing].height);
    21292129
    2130     float minHeight = [fWindow minSize].height;
    2131     if (newHeight < minHeight)
     2130    float minHeight, maxHeight;
     2131    if (newHeight < (minHeight = [fWindow minSize].height))
    21322132        newHeight = minHeight;
    2133    
    2134     float maxHeight = [[fWindow screen] visibleFrame].size.height;
    2135     if (newHeight > maxHeight)
     2133    else if (newHeight > (maxHeight = [[fWindow screen] visibleFrame].size.height))
    21362134        newHeight = maxHeight;
     2135    else;
    21372136
    21382137    frame.origin.y -= (newHeight - frame.size.height);
Note: See TracChangeset for help on using the changeset viewer.