From c471a0aef3298d3277911c68b465f5c7f047a213 Mon Sep 17 00:00:00 2001 From: Glenn Rempe Date: Tue, 11 Nov 2008 13:50:36 -0800 Subject: [PATCH 3/4] Whitespace. --- Tools/NewApplication/AppController.j | 14 +++++++------- Tools/NewApplication/Info.plist | 13 +++++++------ Tools/NewApplication/index.html | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/Tools/NewApplication/AppController.j b/Tools/NewApplication/AppController.j index 26c050a..037f99c 100644 --- a/Tools/NewApplication/AppController.j +++ b/Tools/NewApplication/AppController.j @@ -16,21 +16,21 @@ import { var theWindow = [[CPWindow alloc] initWithContentRect:CGRectMakeZero() styleMask:CPBorderlessBridgeWindowMask], contentView = [theWindow contentView]; - + var label = [[CPTextField alloc] initWithFrame:CGRectMakeZero()]; - + [label setStringValue:@"Hello World!"]; [label setFont:[CPFont boldSystemFontOfSize:24.0]]; - + [label sizeToFit]; - + [label setAutoresizingMask:CPViewMinXMargin | CPViewMaxXMargin | CPViewMinYMargin | CPViewMaxYMargin]; [label setFrameOrigin:CGPointMake((CGRectGetWidth([contentView bounds]) - CGRectGetWidth([label frame])) / 2.0, (CGRectGetHeight([contentView bounds]) - CGRectGetHeight([label frame])) / 2.0)]; - + [contentView addSubview:label]; - + [theWindow orderFront:self]; - + // Uncomment the following line to turn on the standard menu bar. //[CPMenu setMenuBarVisible:YES]; } diff --git a/Tools/NewApplication/Info.plist b/Tools/NewApplication/Info.plist index 92ab8b5..c294d55 100644 --- a/Tools/NewApplication/Info.plist +++ b/Tools/NewApplication/Info.plist @@ -2,11 +2,12 @@ - CPApplicationDelegateClass - AppController - CPBundleName - Hello World - CPPrincipalClass - CPApplication + CPApplicationDelegateClass + AppController + CPBundleName + Hello World + CPPrincipalClass + CPApplication + diff --git a/Tools/NewApplication/index.html b/Tools/NewApplication/index.html index 2353705..23eec2b 100644 --- a/Tools/NewApplication/index.html +++ b/Tools/NewApplication/index.html @@ -30,6 +30,6 @@ - + -- 1.6.0.2.229.g1293c