Changeset 2970


Ignore:
Timestamp:
Sep 1, 2007, 4:05:49 PM (14 years ago)
Author:
livings124
Message:

cell alignment fixes from nickshanks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentCell.m

    r2878 r2970  
    3939#define PADDING_HORIZONAL 2.0
    4040#define PADDING_ABOVE_IMAGE_REG 9.0
    41 #define PADDING_BETWEEN_IMAGE_AND_TITLE 4.0
    42 #define PADDING_ABOVE_TITLE 2.0
     41#define PADDING_BETWEEN_IMAGE_AND_TITLE 5.0
     42#define PADDING_BETWEEN_IMAGE_AND_BAR 7.0
     43#define PADDING_ABOVE_TITLE 3.0
    4344#define PADDING_ABOVE_MIN_STATUS 4.0
    4445#define PADDING_BETWEEN_TITLE_AND_MIN_STATUS 2.0
    45 #define PADDING_BETWEEN_TITLE_AND_PROGRESS 2.0
    46 #define PADDING_LESS_BETWEEN_TITLE_AND_BAR 1.0
     46#define PADDING_BETWEEN_TITLE_AND_PROGRESS 1.0
    4747#define PADDING_BETWEEN_PROGRESS_AND_BAR 2.0
    4848#define PADDING_BETWEEN_TITLE_AND_BAR_MIN 3.0
     
    175175    result.size.height = BAR_HEIGHT;
    176176    result.origin.x = PADDING_HORIZONAL + (minimal ? IMAGE_SIZE_MIN : IMAGE_SIZE_REG)
    177                         + PADDING_BETWEEN_IMAGE_AND_TITLE - PADDING_LESS_BETWEEN_TITLE_AND_BAR;
     177                        + PADDING_BETWEEN_IMAGE_AND_BAR;
    178178   
    179179    result.origin.y += PADDING_ABOVE_TITLE + HEIGHT_TITLE;
Note: See TracChangeset for help on using the changeset viewer.