Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5945)

Unified Diff: chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm

Issue 2806098: [Mac] Un-tweak omnibox height and spacing and font. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Peter suggested bumping RHS spacing. Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm
diff --git a/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm b/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm
index 48646e6092ed061916437ed4c148ad2b0955b91f..5d1742b7f84fe446f162be72f2ca3e8c0c5a8012 100644
--- a/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm
+++ b/chrome/browser/cocoa/location_bar/autocomplete_text_field_cell.mm
@@ -17,11 +17,12 @@ const CGFloat kBaselineAdjust = 3.0;
const CGFloat kCornerRadius = 4.0;
// How far to inset the left-hand decorations from the field's bounds.
-const CGFloat kLeftDecorationXOffset = 4.0;
+const CGFloat kLeftDecorationXOffset = 5.0;
// How far to inset the right-hand decorations from the field's bounds.
// TODO(shess): Why is this different from |kLeftDecorationXOffset|?
-const CGFloat kRightDecorationXOffset = 4.0;
+// |kDecorationOuterXOffset|?
+const CGFloat kRightDecorationXOffset = 5.0;
// The amount of padding on either side reserved for drawing
// decorations. [Views has |kItemPadding| == 3.]
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_view_mac.mm ('k') | chrome/browser/cocoa/location_bar/bubble_decoration.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698