diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-29 20:58:43 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-29 20:58:43 +0000 |
commit | 66b2c3e610f44d27e5964dc984e088853b7dbbb8 (patch) | |
tree | 07379a7707709e251cec8d0a6e4e262a5aef0321 /chrome/browser/autocomplete/autocomplete_edit_view_mac.mm | |
parent | 0ae690367b54477c3bd7f73a1b34199b0db15e3a (diff) | |
download | chromium_src-66b2c3e610f44d27e5964dc984e088853b7dbbb8.zip chromium_src-66b2c3e610f44d27e5964dc984e088853b7dbbb8.tar.gz chromium_src-66b2c3e610f44d27e5964dc984e088853b7dbbb8.tar.bz2 |
[Mac] First pass at final sizing of toolbar items.
Toolbar.xib changes:
- buttons from 31x27 to 29x29 so that the visual is 27x27.
- shift things left to take up opened space.
- omnibox to 29 pixels tall.
- wrench also to 29x29.
- all of that raised a single pixel to recenter.
- swap positions of home and reload.
Modify home-button-adjustment code to reflect rearranged
home/reload positions.
Increase Omnibox font size by one point to match increased field
height (and Windows Omnibox). Revise various font clients to
recognize this. Shift Omnibox baseline and other measurements to
account for increased height.
Shift globe/search icon in by one pixel so icons on both sides of
Omnibox are 4px from border. Matching shift in popup.
Fix EV-bubble to use appropriate green for text, rather than black.
Push out bubble to have a single-pixel space WRT Omnibox border.
Tighten corners to tuck into Omnibox corners. Handle different
lhs padding versus location icon (image should end up in same
spot, even though the bubble draws outside the image).
BUG=50575
TEST=none
Review URL: http://codereview.chromium.org/3046029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54188 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_mac.mm')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_mac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm index fcf882e..65750b8 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm +++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.mm @@ -920,5 +920,5 @@ std::wstring AutocompleteEditViewMac::GetClipboardText(Clipboard* clipboard) { // static NSFont* AutocompleteEditViewMac::GetFieldFont() { ResourceBundle& rb = ResourceBundle::GetSharedInstance(); - return rb.GetFont(ResourceBundle::BaseFont).nativeFont(); + return rb.GetFont(ResourceBundle::BaseFont).DeriveFont(1).nativeFont(); } |