From caed991cb135eeba50043ba22674288a7a0b4d54 Mon Sep 17 00:00:00 2001 From: Aparajita Fishman Date: Mon, 11 Feb 2013 11:05:55 -0500 Subject: [PATCH] Reformat to make it actually readable, fixed a wrong value --- AppKit/CPAlert.j | 78 +++++++++++++++++++++--------------------------- 1 file changed, 34 insertions(+), 44 deletions(-) diff --git a/AppKit/CPAlert.j b/AppKit/CPAlert.j index b9ff787cd..cf21f8d46 100644 --- a/AppKit/CPAlert.j +++ b/AppKit/CPAlert.j @@ -717,50 +717,40 @@ var bottomHeight = 71; + (id)themeAttributes { - return [CPDictionary dictionaryWithObjects:[CGSizeMake(400.0, 110.0), CGInsetMake(15, 15, 15, 50), 6, 10, - CPJustifiedTextAlignment, [CPColor blackColor], [CPFont boldSystemFontOfSize:13.0], [CPNull null], CGSizeMakeZero(), - CPJustifiedTextAlignment, [CPColor blackColor], [CPFont systemFontOfSize:12.0], [CPNull null], CGSizeMakeZero(), - CGPointMake(15, 12), - [CPNull null], - [CPNull null], - [CPNull null], - [CPNull null], - [CPNull null], - [CPNull null], - 0.0, - 0.0, - 3.0, - [CPColor blackColor], - [CPFont systemFontOfSize:12.0], - [CPNull null], - 0.0, - 0.0, - 0.0, - 0.0, - 0.0, - ] - forKeys:[@"size", @"content-inset", @"informative-offset", @"button-offset", - @"message-text-alignment", @"message-text-color", @"message-text-font", @"message-text-shadow-color", @"message-text-shadow-offset", - @"informative-text-alignment", @"informative-text-color", @"informative-text-font", @"informative-text-shadow-color", @"informative-text-shadow-offset", - @"image-offset", - @"information-image", - @"warning-image", - @"error-image", - @"help-image", - @"help-image-left-offset", - @"help-image-pressed", - @"suppression-button-y-offset", - @"suppression-button-x-offset", - @"default-elements-margin", - @"suppression-button-text-color", - @"suppression-button-text-font", - @"suppression-button-text-shadow-color", - @"suppression-button-text-shadow-offset", - @"modal-window-button-margin-y", - @"modal-window-button-margin-x", - @"standard-window-button-margin-y", - @"standard-window-button-margin-x" - ]]; + return [CPDictionary dictionaryWithObjectsAndKeys: + CGSizeMake(400.0, 110.0), @"size", + CGInsetMake(15, 15, 15, 50), @"content-inset", + 6, @"informative-offset", + 10, @"button-offset", + CPJustifiedTextAlignment, @"message-text-alignment", + [CPColor blackColor], @"message-text-color", + [CPFont boldSystemFontOfSize:13.0], @"message-text-font", + [CPNull null], @"message-text-shadow-color", + CGSizeMakeZero(), @"message-text-shadow-offset", + CPJustifiedTextAlignment, @"informative-text-alignment", + [CPColor blackColor], @"informative-text-color", + [CPFont systemFontOfSize:12.0], @"informative-text-font", + [CPNull null], @"informative-text-shadow-color", + CGSizeMakeZero(), @"informative-text-shadow-offset", + CGPointMake(15, 12), @"image-offset", + [CPNull null], @"information-image", + [CPNull null], @"warning-image", + [CPNull null], @"error-image", + [CPNull null], @"help-image", + 15, @"help-image-left-offset", + [CPNull null], @"help-image-pressed", + 0.0, @"suppression-button-y-offset", + 0.0, @"suppression-button-x-offset", + 3.0, @"default-elements-margin", + [CPColor blackColor], @"suppression-button-text-color", + [CPFont systemFontOfSize:12.0], @"suppression-button-text-font", + [CPNull null], @"suppression-button-text-shadow-color", + 0.0, @"suppression-button-text-shadow-offset", + 0.0, @"modal-window-button-margin-y", + 0.0, @"modal-window-button-margin-x", + 0.0, @"standard-window-button-margin-y", + 0.0, @"standard-window-button-margin-x" + ]; } @end