summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-08 16:07:27 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-08 16:07:27 +0000
commitf534741a2d3b119a08a66de8c7ec13d7b14b1580 (patch)
tree89f6f710b58c7f2f55b9851ff41a9a85fb21b3a5 /views
parent31e7d6464b27769507cb33d8879274aed493cc45 (diff)
downloadchromium_src-f534741a2d3b119a08a66de8c7ec13d7b14b1580.zip
chromium_src-f534741a2d3b119a08a66de8c7ec13d7b14b1580.tar.gz
chromium_src-f534741a2d3b119a08a66de8c7ec13d7b14b1580.tar.bz2
Ups the max size of bookmark menus to accommodate the wrench menu.
BUG=48309 TEST=see bug Review URL: http://codereview.chromium.org/2880019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51847 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/menu/menu_controller.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/controls/menu/menu_controller.cc b/views/controls/menu/menu_controller.cc
index 2c00e5e..2622523 100644
--- a/views/controls/menu/menu_controller.cc
+++ b/views/controls/menu/menu_controller.cc
@@ -39,7 +39,9 @@ static const int kCloseOnExitTime = 1200;
// Max width of a menu. There does not appear to be an OS value for this, yet
// both IE and FF restrict the max width of a menu.
-static const int kMaxMenuWidth = 400;
+// NOTE: this needs to be large enough to accommodate the wrench menu with big
+// fonts.
+static const int kMaxMenuWidth = 800;
// Amount to inset submenus.
static const int kSubmenuHorizontalInset = 3;