From d3155c916fd4a289d9e5995056d83725f0ccc101 Mon Sep 17 00:00:00 2001 From: "thomasvl@chromium.org" Date: Tue, 29 Sep 2009 19:57:32 +0000 Subject: Import dialog fixup: - use one call string convert - load the nib from the main bundle - make the cancel button autosize to it's string - make the cancel button tweak it's position based on the string (not dialog position, but keep the right edge as is) - fix up some field overlaps, and position, dialog still isn't pretty, but this is how Cole said to leave it rather then reopen the discussion now. - use the WithFixup helpers to deal with ellipses TEST=button fits text, fields don't overlap any strings. BUG=20534 Review URL: http://codereview.chromium.org/235055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27526 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/nibs/ImportProgressDialog.xib | 207 ++++++++++++++++++++++--------- 1 file changed, 147 insertions(+), 60 deletions(-) (limited to 'chrome/app/nibs') diff --git a/chrome/app/nibs/ImportProgressDialog.xib b/chrome/app/nibs/ImportProgressDialog.xib index 81bcd95..eea8740 100644 --- a/chrome/app/nibs/ImportProgressDialog.xib +++ b/chrome/app/nibs/ImportProgressDialog.xib @@ -2,7 +2,7 @@ 1050 - 9L31a + 9L30 677 949.54 353.00 @@ -37,7 +37,7 @@ 1 2 - {{196, 316}, {509, 194}} + {{196, 308}, {508, 202}} 536871936 ^IDS_IMPORT_PROGRESS_TITLE NSWindow @@ -51,13 +51,13 @@ 268 - {{17, 157}, {475, 17}} + {{17, 165}, {475, 17}} YES 68288064 272630784 - Google Chrome is now importing the following items from Mozilla Firefox: + summary LucidaGrande 1.300000e+01 @@ -87,7 +87,7 @@ 268 - {{29, 48}, {234, 17}} + {{29, 56}, {227, 17}} YES @@ -103,7 +103,7 @@ 268 - {{29, 98}, {234, 17}} + {{29, 106}, {227, 17}} YES @@ -119,7 +119,7 @@ 268 - {{29, 73}, {234, 17}} + {{29, 81}, {227, 17}} YES @@ -135,7 +135,7 @@ 268 - {{29, 123}, {234, 17}} + {{29, 131}, {227, 17}} YES @@ -148,36 +148,16 @@ - - - 268 - {{370, 4}, {96, 32}} - - YES - - 67239424 - 134217728 - ^IDS_CANCEL - - - -2038284033 - 129 - - - 200 - 25 - - 268 - {{201, 48}, {234, 17}} + {{258, 56}, {234, 17}} YES 68288064 272630784 - Label + status LucidaGrande-Bold 1.300000e+01 @@ -191,13 +171,13 @@ 268 - {{201, 73}, {234, 17}} + {{258, 81}, {234, 17}} YES 68288064 272630784 - Label + status @@ -207,13 +187,13 @@ 268 - {{201, 98}, {234, 17}} + {{258, 106}, {234, 17}} YES 68288064 272630784 - Label + status @@ -223,21 +203,51 @@ 268 - {{201, 123}, {234, 17}} + {{258, 131}, {234, 17}} YES 68288064 272630784 - Label + status + + + 289 + + YES + + + 289 + {{14, 12}, {96, 32}} + + YES + + 67239424 + 134217728 + ^IDS_CANCEL + + + -2038284033 + 129 + + + 200 + 25 + + + + {{356, 0}, {124, 48}} + + GTMWidthBasedTweaker + - {509, 194} + {508, 202} {{0, 0}, {1680, 1028}} @@ -246,6 +256,9 @@ ChromeUILocalizer + + GTMUILocalizerAndLayoutTweaker + @@ -412,11 +425,19 @@ - owner_ - - + localizer_ + + + + 60 + + + + uiObject_ + + - 58 + 61 @@ -467,11 +488,11 @@ - + - + @@ -546,20 +567,6 @@ - 13 - - - YES - - - - - - 14 - - - - 16 @@ -620,6 +627,34 @@ + + 59 + + + + + 62 + + + YES + + + + + + 13 + + + YES + + + + + + 14 + + + @@ -653,6 +688,7 @@ 4.IBPluginDependency 5.IBPluginDependency 57.IBPluginDependency + 59.IBPluginDependency 6.IBPluginDependency 7.IBPluginDependency 8.IBPluginDependency @@ -663,9 +699,9 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{792, 559}, {509, 194}} + {{792, 551}, {508, 202}} com.apple.InterfaceBuilder.CocoaPlugin - {{792, 559}, {509, 194}} + {{792, 551}, {508, 202}} {196, 240} {{357, 418}, {480, 270}} @@ -691,6 +727,7 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin @@ -713,7 +750,7 @@ - 58 + 62 @@ -750,6 +787,49 @@ + GTMUILocalizerAndLayoutTweaker + NSObject + + YES + + YES + localizerOwner_ + localizer_ + uiObject_ + + + YES + id + GTMUILocalizer + id + + + + IBProjectSource + ../third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h + + + + GTMWidthBasedTweaker + NSView + + YES + + YES + viewToResize_ + viewToSlideAndResize_ + viewToSlide_ + + + YES + id + NSView + NSView + + + + + ImportProgressDialogController NSWindowController @@ -775,6 +855,13 @@ browser/cocoa/tab_strip_model_observer_bridge.h + + NSWindow + + IBProjectSource + browser/cocoa/nswindow_local_state.h + + 0 -- cgit v1.1