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

Unified Diff: chrome/browser/ui/views/download/download_shelf_view.cc

Issue 12490014: The download arrow is not vertically centered and needs to be shifted down by 2 pt. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 9 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/views/download/download_shelf_view.cc
===================================================================
--- chrome/browser/ui/views/download/download_shelf_view.cc (revision 187890)
+++ chrome/browser/ui/views/download/download_shelf_view.cc (working copy)
@@ -252,7 +252,7 @@
max_download_x + kDownloadPadding;
// Align vertically with show_all_view_.
arrow_image_->SetBounds(next_x,
- CenterPosition(show_all_size.height(), height()),
+ CenterPosition(image_size.height(), height()),
image_size.width(), image_size.height());
next_x += image_size.width() + kDownloadsTitlePadding;
show_all_view_->SetBounds(next_x,
« 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