summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-10 00:05:16 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-10 00:05:16 +0000
commit94df07731d864526b8c2dc5af8d84a7b74f5aa67 (patch)
treef38891f236dc7738a046adaae9767225e0d2f433 /chrome
parent45def830e381d63a2f3bf809342bf624a20d4f2a (diff)
downloadchromium_src-94df07731d864526b8c2dc5af8d84a7b74f5aa67.zip
chromium_src-94df07731d864526b8c2dc5af8d84a7b74f5aa67.tar.gz
chromium_src-94df07731d864526b8c2dc5af8d84a7b74f5aa67.tar.bz2
GTK: fix padding of autocomplete popup.
This doesn't fix the TTS padding, unfortunately I have more pressing mstone5 bugs to attend to for now (and fixing that padding doesn't look trivial). BUG=40843 TEST=visual --- text in omnibox and popup should align; images should align as well. Review URL: http://codereview.chromium.org/1576031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44163 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
index c436750..b43b3d1 100644
--- a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
+++ b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc
@@ -50,13 +50,13 @@ const int kBorderThickness = 1;
// The vertical height of each result.
const int kHeightPerResult = 24;
// Width of the icons.
-const int kIconWidth = 16;
+const int kIconWidth = 17;
// We want to vertically center the image in the result space.
const int kIconTopPadding = 4;
// Space between the left edge (including the border) and the text.
const int kIconLeftPadding = 5 + kBorderThickness;
// Space between the image and the text.
-const int kIconRightPadding = 5;
+const int kIconRightPadding = 7;
// Space between the left edge (including the border) and the text.
const int kIconAreaWidth =
kIconLeftPadding + kIconWidth + kIconRightPadding;