diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc | 2 | ||||
-rw-r--r-- | chrome/browser/gtk/location_bar_view_gtk.cc | 2 |
2 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 9497334..656907a 100644 --- a/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc +++ b/chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc @@ -46,7 +46,7 @@ const int kIconWidth = 16; // 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 = 6; +const int kIconLeftPadding = 6 + kBorderThickness; // Space between the image and the text. Would be 6 to line up with the // entry, but nudge it a bit more to match with the text in the entry. const int kIconRightPadding = 10; diff --git a/chrome/browser/gtk/location_bar_view_gtk.cc b/chrome/browser/gtk/location_bar_view_gtk.cc index 11e4ac1..7ff72c2 100644 --- a/chrome/browser/gtk/location_bar_view_gtk.cc +++ b/chrome/browser/gtk/location_bar_view_gtk.cc @@ -24,7 +24,7 @@ namespace { // We are positioned with a little bit of extra space that we don't use now. const int kTopMargin = 1; -const int kBottomMargin = 2; +const int kBottomMargin = 1; // We don't want to edit control's text to be right against the edge. const int kEditLeftRightPadding = 4; // We draw a border on the top and bottom (but not on left or right). |