diff options
author | rhashimoto@chromium.org <rhashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 19:13:42 +0000 |
---|---|---|
committer | rhashimoto@chromium.org <rhashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-11 19:13:42 +0000 |
commit | d274891c36024c04b20ebe3f392e91ac2aa5b26b (patch) | |
tree | 1b2cff6b16121185854333ecbadd4ea67d9e92cc /gpu/command_buffer/client/gles2_demo.cc | |
parent | 0ae8c214069fc8668669edcf4aa1bcb16ebe8205 (diff) | |
download | chromium_src-d274891c36024c04b20ebe3f392e91ac2aa5b26b.zip chromium_src-d274891c36024c04b20ebe3f392e91ac2aa5b26b.tar.gz chromium_src-d274891c36024c04b20ebe3f392e91ac2aa5b26b.tar.bz2 |
Set minimum width on menu for NativeComboboxViews.
The combobox menu is forced to be at least as wide as the combobox itself.
Besides the addition to native_combobox_views.cc, an edit was needed to views::SubmenuView. The minimum preferred width must account for the border (specified in SubmenuView, applied in MenuScrollViewContainer) to make the ultimate menu width match the size requested by the combobox.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7002004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/client/gles2_demo.cc')
0 files changed, 0 insertions, 0 deletions