diff options
| author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-08 22:34:20 +0000 |
|---|---|---|
| committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-08 22:34:20 +0000 |
| commit | 384988509daa2476d563e0a0bffd0c9118e7d630 (patch) | |
| tree | f1ea79280e87b57bcd6c1dcf7a41dac6984048de /chrome/browser/views | |
| parent | 89a6e222604c7328d0a283fdcbf2c2cff67b0ddf (diff) | |
| download | chromium_src-384988509daa2476d563e0a0bffd0c9118e7d630.zip chromium_src-384988509daa2476d563e0a0bffd0c9118e7d630.tar.gz chromium_src-384988509daa2476d563e0a0bffd0c9118e7d630.tar.bz2 | |
Wrap the text in a label in the options dialog.
BUG=1314224
TEST=chrome --lang=fil, options, middle tab, the last section should not
have elided text.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@603 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
| -rw-r--r-- | chrome/browser/views/options/content_page_view.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/views/options/content_page_view.cc b/chrome/browser/views/options/content_page_view.cc index 8814986..0365c8a 100644 --- a/chrome/browser/views/options/content_page_view.cc +++ b/chrome/browser/views/options/content_page_view.cc @@ -328,6 +328,8 @@ void ContentPageView::Layout() { 0, 0, passwords_group_->GetContentsWidth(), 0); passwords_neversave_radio_->SetBounds( 0, 0, passwords_group_->GetContentsWidth(), 0); + fonts_and_languages_label_->SetBounds( + 0, 0, fonts_lang_group_->GetContentsWidth(), 0); // ... and twice to get the height of multi-line items correct. View::Layout(); } @@ -429,6 +431,7 @@ void ContentPageView::InitFontsLangGroup() { l10n_util::GetString(IDS_OPTIONS_FONTSETTINGS_INFO)); fonts_and_languages_label_->SetHorizontalAlignment( ChromeViews::Label::ALIGN_LEFT); + fonts_and_languages_label_->SetMultiLine(true); change_content_fonts_button_ = new ChromeViews::NativeButton( l10n_util::GetString(IDS_OPTIONS_FONTSETTINGS_CONFIGUREFONTS_BUTTON)); change_content_fonts_button_->SetListener(this); |
