From 3bed4975fc4bd67e6fb23c3f2a1e53913519b3ea Mon Sep 17 00:00:00 2001 From: Nicholas Riley Date: Wed, 17 Jun 2009 00:21:18 -0500 Subject: [PATCH] Clean up UI and add keyboard support for create branch sheet. Maps Return to OK and Escape/Command-Period to Cancel. Renames OK to Create (a verb is better). Fixes autoresizing masks so the layout doesn't break when you resize the sheet. --- PBGitHistoryView.xib | 99 +++++++++++++++++--------------------------- 1 file changed, 37 insertions(+), 62 deletions(-) diff --git a/PBGitHistoryView.xib b/PBGitHistoryView.xib index 1a06286..9861c21 100644 --- a/PBGitHistoryView.xib +++ b/PBGitHistoryView.xib @@ -2,9 +2,9 @@ 1050 - 9G55 + 9J61 677 - 949.43 + 949.46 353.00 YES @@ -345,6 +345,7 @@ YES Apple HTML pasteboard type + Apple PDF pasteboard type Apple PICT pasteboard type Apple URL pasteboard type Apple Web Archive pasteboard type @@ -355,6 +356,7 @@ NeXT Rich Text Format v1.0 pasteboard type NeXT TIFF v4.0 pasteboard type WebURLsWithTitlesPboardType + public.png public.url public.url-name @@ -1009,12 +1011,13 @@ 15 2 - {{196, 377}, {346, 133}} + {{196, 408}, {346, 102}} 603979776 New Branch Sheet NSWindow - {3.40282e+38, 3.40282e+38} + {1000, 102} + {346, 102} 256 @@ -1022,8 +1025,8 @@ YES - 268 - {{145, 60}, {96, 22}} + 266 + {{177, 60}, {149, 22}} YES @@ -1048,32 +1051,16 @@ - - - 268 - {{17, 62}, {123, 17}} - - YES - - 68288064 - 272630784 - New Branch Name: - - - - - - 268 - {{17, 96}, {134, 17}} + {{17, 62}, {155, 17}} YES 68288064 272630784 - Create a new branch + Create a branch named: @@ -1082,28 +1069,28 @@ - 268 - {{236, 11}, {96, 32}} + 289 + {{236, 12}, {96, 32}} YES 67239424 134217728 - OK + Create -2038284033 129 - + DQ 200 25 - 268 - {{139, 12}, {96, 32}} + 289 + {{140, 12}, {96, 32}} YES @@ -1115,15 +1102,15 @@ -2038284033 129 - + Gw 200 25 - 268 - {{251, 62}, {85, 17}} + 292 + {{17, 22}, {85, 17}} YES @@ -1140,11 +1127,12 @@ - {346, 133} + {346, 102} {{0, 0}, {1680, 1028}} - {3.40282e+38, 3.40282e+38} + {346, 124} + {1000, 124} @@ -2414,11 +2402,10 @@ YES - - - - + + + @@ -2450,15 +2437,6 @@ - - 241 - - - YES - - - - 242 @@ -2473,11 +2451,6 @@ - - 244 - - - 245 @@ -2786,16 +2759,17 @@ 236.IBEditorWindowLastContentRect 236.IBWindowTemplateEditedContentRect 236.NSWindowTemplate.visibleAtLaunch + 236.windowTemplate.hasMaxSize + 236.windowTemplate.hasMinSize 236.windowTemplate.maxSize + 236.windowTemplate.minSize 237.IBPluginDependency 238.IBPluginDependency 239.IBPluginDependency 24.IBPluginDependency 240.IBPluginDependency - 241.IBPluginDependency 242.IBPluginDependency 243.IBPluginDependency - 244.IBPluginDependency 245.IBPluginDependency 246.IBPluginDependency 247.IBPluginDependency @@ -2906,12 +2880,13 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{504, 581}, {346, 133}} - {{504, 581}, {346, 133}} + {{504, 612}, {346, 102}} + {{504, 612}, {346, 102}} - {3.40282e+38, 3.40282e+38} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin + + + {1000, 102} + {346, 102} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -2978,7 +2953,7 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{321, 79}, {852, 432}} + {{178, 79}, {852, 432}} com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -3032,7 +3007,7 @@ YES PBGitHistoryController - id + PBWebHistoryController WebView