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

Unified Diff: ash/common/system/tray/fixed_sized_image_view.cc

Issue 2455183002: Simplify layout of tray items and fix spacing for MD. (Closed)
Patch Set: tda review Created 4 years, 2 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 | « ash/common/system/date/tray_date.h ('k') | ash/common/system/tray/system_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/fixed_sized_image_view.cc
diff --git a/ash/common/system/tray/fixed_sized_image_view.cc b/ash/common/system/tray/fixed_sized_image_view.cc
index a593b6f2a3234429de461072620dba19a293fbce..5284be071a196e9fd108b86a80871c2dd8011688 100644
--- a/ash/common/system/tray/fixed_sized_image_view.cc
+++ b/ash/common/system/tray/fixed_sized_image_view.cc
@@ -7,10 +7,7 @@
namespace ash {
FixedSizedImageView::FixedSizedImageView(int width, int height)
- : width_(width), height_(height) {
- SetHorizontalAlignment(views::ImageView::CENTER);
- SetVerticalAlignment(views::ImageView::CENTER);
-}
+ : width_(width), height_(height) {}
FixedSizedImageView::~FixedSizedImageView() {}
« no previous file with comments | « ash/common/system/date/tray_date.h ('k') | ash/common/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698