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

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

Issue 2264383002: More closely align palette to spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tool-magnifier
Patch Set: Initial upload 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
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 cf97576c36afc0482062e00ca2f9a9ddf2f93b51..9aaeb54800757b876b20a711ff37e752b2312627 100644
--- a/ash/common/system/cast/tray_cast.cc
+++ b/ash/common/system/cast/tray_cast.cc
@@ -509,7 +509,9 @@ views::View* CastDetailedView::AddToReceiverList(
.GetImageNamed(IDR_AURA_UBER_TRAY_CAST_DEVICE_ICON)
.ToImageSkia();
const base::string16& name = receiverActivity.receiver.name;
- container->AddIndentedIconAndLabel(*image, name, false);
+ container->AddIconAndLabelCustomSize(
+ *image, name, false, kTrayPopupDetailsIconWidth,
+ kTrayPopupPaddingHorizontal, kTrayPopupPaddingBetweenItems);
scroll_content()->AddChildView(container);
return container;

Powered by Google App Engine
This is Rietveld 408576698