From 456a835285dce91725261c0d384b8d78f3101ce9 Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Fri, 24 Sep 2010 16:01:38 +0200 Subject: [PATCH] Made the main window under cocoa a little cuter. --- cocoa/base/ResultWindow.m | 2 + cocoa/base/xib/MainMenu.xib | 75 +++++++++++++++++++++---------------- 2 files changed, 44 insertions(+), 33 deletions(-) diff --git a/cocoa/base/ResultWindow.m b/cocoa/base/ResultWindow.m index 71897c13..076fa225 100644 --- a/cocoa/base/ResultWindow.m +++ b/cocoa/base/ResultWindow.m @@ -18,6 +18,8 @@ http://www.hardcoded.net/licenses/hs_license - (void)awakeFromNib { [self window]; + /* Put a cute iTunes-like bottom bar */ + [[self window] setContentBorderThickness:28 forEdge:NSMinYEdge]; preferencesPanel = [[NSWindowController alloc] initWithWindowNibName:@"Preferences"]; table = [[ResultTable alloc] initWithPyParent:py view:matches]; statsLabel = [[StatsLabel alloc] initWithPyParent:py labelView:stats]; diff --git a/cocoa/base/xib/MainMenu.xib b/cocoa/base/xib/MainMenu.xib index 53544577..e0df4bfb 100644 --- a/cocoa/base/xib/MainMenu.xib +++ b/cocoa/base/xib/MainMenu.xib @@ -12,7 +12,7 @@ YES - + @@ -83,17 +83,19 @@ Power Marker - + 256 - {{7, 14}, {67, 24}} + {{7, 14}, {67, 25}} + + YES 67239424 0 - + LucidaGrande 11 - 3100 + 16 @@ -111,13 +113,14 @@ 1 + 2 {67, 24} - {67, 24} + {67, 25} YES YES 0 @@ -176,9 +179,11 @@ Filter - + 258 {{0, 14}, {81, 22}} + + YES 343014976 @@ -320,18 +325,19 @@ Action - + 256 - {{0, 14}, {58, 26}} + {{1, 14}, {40, 25}} + + YES -2076049856 - 2048 + 134219776 - 109199615 - 1 - + -2035269377 + 35 @@ -503,14 +509,14 @@ 3 YES YES - 1 + 2 - {58, 26} - {58, 26} + {30, 25} + {40, 26} YES YES 0 @@ -525,14 +531,16 @@ Delta Values - + 256 - {{4, 14}, {67, 24}} + {{4, 14}, {67, 25}} + + YES 67239424 0 - + YES @@ -549,13 +557,14 @@ 1 + 2 {67, 24} - {67, 24} + {67, 25} YES YES 0 @@ -681,7 +690,7 @@ 290 - {{17, 20}, {523, 17}} + {{17, 6}, {523, 17}} YES @@ -715,13 +724,13 @@ 256 - {515, 317} + {557, 355} YES 256 - {515, 17} + {557, 17} @@ -742,7 +751,11 @@ 75628096 134219776 - + + LucidaGrande + 11 + 3100 + 6 System @@ -796,11 +809,7 @@ 337772096 2048 Text Cell - - LucidaGrande - 11 - 16 - + 6 @@ -844,7 +853,7 @@ 0 - {{1, 17}, {515, 317}} + {{1, 17}, {557, 355}} @@ -878,7 +887,7 @@ YES - {{1, 0}, {515, 17}} + {{1, 0}, {557, 17}} @@ -887,7 +896,7 @@ - {{20, 45}, {517, 335}} + {{0, 28}, {559, 373}} 562 @@ -3435,7 +3444,7 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{409, 745}, {617, 0}} + {{294, 689}, {617, 0}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin