summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormukai <mukai@chromium.org>2015-05-28 17:39:35 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-29 00:40:01 +0000
commitc065b7f2bd04e8dd979bce89b9d1882435c917b7 (patch)
tree86e18eb480211c579fb0da665ca168306699cac4
parent01150b1ad70d199f2ea51efef7b411fa053cca93 (diff)
downloadchromium_src-c065b7f2bd04e8dd979bce89b9d1882435c917b7.zip
chromium_src-c065b7f2bd04e8dd979bce89b9d1882435c917b7.tar.gz
chromium_src-c065b7f2bd04e8dd979bce89b9d1882435c917b7.tar.bz2
Allow character breaks for the extension name on uninstallation.
Recently this dialog is used for some type of bookmarks, where any text can be specified by the user, and current implementation can't wrap very long words correctly. See the screenshot in crbug.com/491805. BUG=491805 R=benwells@chromium.org TEST=manually Review URL: https://codereview.chromium.org/1154383004 Cr-Commit-Position: refs/heads/master@{#331896}
-rw-r--r--chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc b/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc
index 093f49a..49486ca 100644
--- a/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc
+++ b/chrome/browser/ui/views/extensions/extension_uninstall_dialog_view.cc
@@ -173,6 +173,7 @@ ExtensionUninstallDialogDelegateView::ExtensionUninstallDialogDelegateView(
heading_ = new views::Label(base::UTF8ToUTF16(dialog_->GetHeadingText()));
heading_->SetMultiLine(true);
heading_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
+ heading_->SetAllowCharacterBreak(true);
AddChildView(heading_);
}