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

Unified Diff: ash/common/system/cast/tray_cast.cc

Issue 2223263003: Fix horizontal and vertical padding for Cast icon in Ash system tray (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: ash/common/system/cast/tray_cast.cc
diff --git a/ash/common/system/cast/tray_cast.cc b/ash/common/system/cast/tray_cast.cc
index f2f2aa44dc07ca17214aaaa55eaabd35f3f76273..eab2437ea83f67c8295f4f786405fc65dd1566ce 100644
--- a/ash/common/system/cast/tray_cast.cc
+++ b/ash/common/system/cast/tray_cast.cc
@@ -353,8 +353,8 @@ CastTrayView::~CastTrayView() {}
void CastTrayView::UpdateAlignment(ShelfAlignment alignment) {
// Center the item dependent on the orientation of the shelf.
views::BoxLayout::Orientation layout = IsHorizontalAlignment(alignment)
- ? views::BoxLayout::kVertical
- : views::BoxLayout::kHorizontal;
+ ? views::BoxLayout::kHorizontal
+ : views::BoxLayout::kVertical;
SetLayoutManager(new views::BoxLayout(layout, 0, 0, 0));
Layout();
}
« 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