diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-17 04:44:54 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-17 04:44:54 +0000 |
commit | 5b7355bcdf73ef995001d0cf8fbf2385012a7a52 (patch) | |
tree | 475db8bbc8bfbbac2202646209397057ace47a1c /sql/connection.cc | |
parent | 85287df27d4eaa284a441bad846057e5bee428c7 (diff) | |
download | chromium_src-5b7355bcdf73ef995001d0cf8fbf2385012a7a52.zip chromium_src-5b7355bcdf73ef995001d0cf8fbf2385012a7a52.tar.gz chromium_src-5b7355bcdf73ef995001d0cf8fbf2385012a7a52.tar.bz2 |
Use the wider Bold/Normal font in LabelButton::GetPreferredSize.
Some text appears wider when rendered normally than when bold.
Accommodate the widest, as buttons may show bold and shouldn't resize.
See ui_strings_ja.xtb's "キャンセル" (Cancel) cut off at http://crbug.com/259156
BUG=259156
TEST=CrOS --lang=ja doesn't elide Cancel dialog button text, see the bug.
R=mukai@chromium.org,kochi@chromium.org,sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/18513007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211935 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sql/connection.cc')
0 files changed, 0 insertions, 0 deletions