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

Unified Diff: chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm

Issue 2256883004: add padding for icon on advance view (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm b/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm
index 1ab231bb49f0d07d795eb191e6510325638adfd3..75d30552b027833bfc7b8ec7c90734fa41608ab7 100644
--- a/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm
@@ -609,8 +609,9 @@ const CGFloat kContentWidth = kWindowWidth - 2 * kFramePadding;
frame.size.width = NSWidth([targetPopUpButton frame]);
[sourcePopUpButton setFrame:frame];
- [view setFrameSize:NSMakeSize(kContentWidth,
- NSMaxY([sourcePopUpButton frame]))];
+ [view
+ setFrameSize:NSMakeSize(kContentWidth, NSMaxY([sourcePopUpButton frame]) +
+ kIconPadding)];
[self updateAdvancedView];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698