summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-22 23:48:55 +0000
committershess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-22 23:48:55 +0000
commit62351a9468203f071d8bc9afabde1681b4d9b899 (patch)
treebaf99da2eeb150db07a3e7707f41758b22935e19
parent5c69e253676fbe154f564476b7d03dfa41d3ba3e (diff)
downloadchromium_src-62351a9468203f071d8bc9afabde1681b4d9b899.zip
chromium_src-62351a9468203f071d8bc9afabde1681b4d9b899.tar.gz
chromium_src-62351a9468203f071d8bc9afabde1681b4d9b899.tar.bz2
Merge 45381 - [Mac] Omnibox popup icons and text lined up under toolbar.
Make the icons line up under the star icon, and the text line up under the field text. BUG=42338 TEST=Start typing, verify that things like up. Use Pixie.app if you need magnification. Review URL: http://codereview.chromium.org/1729007 TBR=shess@chromium.org Review URL: http://codereview.chromium.org/1702005 git-svn-id: svn://svn.chromium.org/chrome/branches/375/src@45383 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_view_mac.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm b/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
index 644c065..2ab01ad 100644
--- a/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
@@ -38,10 +38,10 @@ const CGFloat kPopupFieldGap = 2.0;
const CGFloat kPopupAlpha = 240.0 / 255.0;
// How much space to leave for the left and right margins.
-const CGFloat kLeftRightMargin = 8.0;
+const CGFloat kLeftRightMargin = 6.0;
// How far to offset the text column from the left.
-const CGFloat kTextXOffset = 33.0;
+const CGFloat kTextXOffset = 31.0;
// Animation duration when animating the popup window smaller.
const CGFloat kShrinkAnimationDuration = 0.1;