From eb282f62d3465f6cbc050b4c5dd761f14479a838 Mon Sep 17 00:00:00 2001 From: "rohitrao@chromium.org" Date: Tue, 9 Jun 2009 19:22:09 +0000 Subject: Modifies the growbox behavior to be more Mac-like. Nib file changes: - Set the min browser window size to 400x250. BUG=http://crbug.com/11844 BUG=http://crbug.com/13015 BUG=http://crbug.com/13017 TEST=Verify that windows have a minimum size. Verify that (with a single monitor) windows cannot be resized into the dock area, unless their lower right corner started in the dock area. Verify that windows can be resized across multiple monitors. Review URL: http://codereview.chromium.org/118439 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17965 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/nibs/en.lproj/BrowserWindow.xib | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'chrome/app/nibs') diff --git a/chrome/app/nibs/en.lproj/BrowserWindow.xib b/chrome/app/nibs/en.lproj/BrowserWindow.xib index 2240ebf..a73b489 100644 --- a/chrome/app/nibs/en.lproj/BrowserWindow.xib +++ b/chrome/app/nibs/en.lproj/BrowserWindow.xib @@ -2,13 +2,14 @@ 1050 - 9G55 + 9J61 677 - 949.43 + 949.46 353.00 YES + YES @@ -43,8 +44,9 @@ NSWindow {3.40282e+38, 3.40282e+38} + {400, 250} - + 256 YES @@ -57,8 +59,10 @@ {750, 600} + {{0, 0}, {1440, 878}} + {400, 272} {3.40282e+38, 3.40282e+38} @@ -228,6 +232,8 @@ 1.NSWindowTemplate.visibleAtLaunch 1.WindowOrigin 1.editorWindowContentRectSynchronizationRect + 1.windowTemplate.hasMinSize + 1.windowTemplate.minSize 2.IBPluginDependency 2.IBViewIntegration.shadowBlurRadius 2.IBViewIntegration.shadowColor @@ -250,6 +256,8 @@ {196, 240} {{357, 418}, {480, 270}} + + {400, 250} com.apple.InterfaceBuilder.CocoaPlugin -- cgit v1.1