NSArray * fields = @[ fDateAddedField, fDateCompletedField, fDateActivityField, fStateField, fProgressField, fHaveField, fDownloadedTotalField, fUploadedTotalField, fFailedHashField, fRatioField, fDownloadTimeField, fSeedTimeField, fErrorScrollView ];
+ const CGFloat widthIncrease = newMaxWidth - oldMaxWidth;
for (NSView * field in fields) {
- const CGFloat widthIncrease = newMaxWidth - oldMaxWidth;
NSRect frame = [field frame];
frame.origin.x += widthIncrease;
frame.size.width -= widthIncrease;
NSArray * fields = @[ fPiecesField, fHashField, fSecureField, fCreatorField, fDateCreatedField, fCommentScrollView, fDataLocationField ];
+ const CGFloat widthIncrease = newMaxWidth - oldMaxWidth;
for (NSView * field in fields) {
- const CGFloat widthIncrease = newMaxWidth - oldMaxWidth;
NSRect frame = [field frame];
frame.origin.x += widthIncrease;
frame.size.width -= widthIncrease;
NSColor * darkColor = [NSColor colorWithCalibratedRed: 155.0/255.0 green: 155.0/255.0 blue: 155.0/255.0 alpha: 1.0];
fGradient = [[NSGradient alloc] initWithStartingColor: lightColor endingColor: darkColor];
- //noise only for 10.7 +
if([NSApp isOnLionOrBetter])
{
CIFilter * randomFilter = [CIFilter filterWithName: @"CIRandomGenerator"];