Changeset 12499


Ignore:
Timestamp:
Jun 13, 2011, 11:02:38 PM (10 years ago)
Author:
livings124
Message:

disabling alternating row colors in minimal view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r12492 r12499  
    387387   
    388388    //set table size
    389     if ([fDefaults boolForKey: @"SmallView"])
     389    const BOOL small = [fDefaults boolForKey: @"SmallView"];
     390    if (small)
    390391        [fTableView setRowHeight: ROW_HEIGHT_SMALL];
     392    [fTableView setUsesAlternatingRowBackgroundColors: !small];
    391393   
    392394    //window min height
     
    27632765    [fDefaults setBool: makeSmall forKey: @"SmallView"];
    27642766   
     2767    [fTableView setUsesAlternatingRowBackgroundColors: !makeSmall];
     2768   
    27652769    [fTableView setRowHeight: makeSmall ? ROW_HEIGHT_SMALL : ROW_HEIGHT_REGULAR];
    27662770   
     
    29282932    if (!show)
    29292933    {
    2930         [[fStatusBar view] removeFromSuperview];
     2934        [[fStatusBar view] removeFromSuperviewWithoutNeedingDisplay];
    29312935        [fStatusBar release];
    29322936        fStatusBar = nil;
     
    30213025    if (!show)
    30223026    {
    3023         [[fFilterBar view] removeFromSuperview];
     3027        [[fFilterBar view] removeFromSuperviewWithoutNeedingDisplay];
    30243028        [fFilterBar release];
    30253029        fFilterBar = nil;
Note: See TracChangeset for help on using the changeset viewer.