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

Unified Diff: chrome/browser/ui/views/chooser_content_view.cc

Issue 2200193004: Support multiple lines for status text on Chooser UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comment 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 | ui/views/window/dialog_client_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/chooser_content_view.cc
diff --git a/chrome/browser/ui/views/chooser_content_view.cc b/chrome/browser/ui/views/chooser_content_view.cc
index 06a7e9d74fe39738d565ad24cc7b1f31161f3bfb..6ae3d32f4a50e61d2ff570234140d02958829013 100644
--- a/chrome/browser/ui/views/chooser_content_view.cc
+++ b/chrome/browser/ui/views/chooser_content_view.cc
@@ -169,6 +169,9 @@ views::Link* ChooserContentView::CreateExtraView() {
discovery_state_ = new views::Link(chooser_controller_->GetStatus());
discovery_state_->SetHandlesTooltips(false);
discovery_state_->SetUnderline(false);
+ discovery_state_->SetMultiLine(true);
+ discovery_state_->SizeToFit(kChooserWidth / 2);
+ discovery_state_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
discovery_state_->set_listener(this);
return discovery_state_;
}
« no previous file with comments | « no previous file | ui/views/window/dialog_client_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698