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

Unified Diff: ash/common/system/chromeos/palette/palette_tray.cc

Issue 2427313003: Move the 'Exit session' button to the most left side in the system tray. (Closed)
Patch Set: Add owner Created 4 years, 1 month 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 | ash/common/system/status_area_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/palette/palette_tray.cc
diff --git a/ash/common/system/chromeos/palette/palette_tray.cc b/ash/common/system/chromeos/palette/palette_tray.cc
index 29129125e32c3f8cb3cc35ff621958a39d79211e..8bbe5899b125a328d0ce434c2e075291b437afae 100644
--- a/ash/common/system/chromeos/palette/palette_tray.cc
+++ b/ash/common/system/chromeos/palette/palette_tray.cc
@@ -327,7 +327,7 @@ gfx::Rect PaletteTray::GetAnchorRect(
if (tray_container()->border())
icon_size -= tray_container()->border()->GetInsets().width();
- r.Offset(-r.width() + icon_size, 0);
+ r.Offset(-r.width() + icon_size + x(), 0);
} else {
// Vertical layout doesn't need the border adjustment that horizontal needs.
r.Offset(0, -r.height() + tray_container()->height());
« no previous file with comments | « no previous file | ash/common/system/status_area_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698