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

Unified Diff: ash/system/chromeos/session/logout_button_tray.cc

Issue 2099103002: Give Ash material design tray items the correct size and layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for review Created 4 years, 6 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/system/chromeos/session/logout_button_tray.cc
diff --git a/ash/system/chromeos/session/logout_button_tray.cc b/ash/system/chromeos/session/logout_button_tray.cc
index f261819eb5d754f989e68996cedfbb76ed563c01..e64b11e21800235c3cd395aa1aa49bb2cde3fe56 100644
--- a/ash/system/chromeos/session/logout_button_tray.cc
+++ b/ash/system/chromeos/session/logout_button_tray.cc
@@ -90,7 +90,7 @@ LogoutButton::LogoutButton(views::ButtonListener* listener)
SetBorder(std::move(border));
set_animate_on_state_change(false);
- SetMinSize(gfx::Size(0, kShelfItemHeight));
+ SetMinSize(gfx::Size(0, GetTrayConstant(TRAY_ITEM_HEIGHT_LEGACY)));
}
LogoutButton::~LogoutButton() {}

Powered by Google App Engine
This is Rietveld 408576698