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

Unified Diff: ui/views/corewm/tooltip_aura.cc

Issue 864223004: Left-Align Tooltips (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: ui/views/corewm/tooltip_aura.cc
diff --git a/ui/views/corewm/tooltip_aura.cc b/ui/views/corewm/tooltip_aura.cc
index 02117a8593d11df38dc6cf2a98e4d8a0ff0d50e8..ef69bbcce068d5d7f9ed418b4b9c9edf6dda30e1 100644
--- a/ui/views/corewm/tooltip_aura.cc
+++ b/ui/views/corewm/tooltip_aura.cc
@@ -53,6 +53,7 @@ TooltipAura::TooltipAura(gfx::ScreenType screen_type)
tooltip_window_(NULL) {
label_.set_owned_by_client();
label_.SetMultiLine(true);
+ label_.SetHorizontalAlignment(gfx::ALIGN_TO_HEAD);
const int kHorizontalPadding = 3;
const int kVerticalPadding = 2;
« 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