summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 15:38:54 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-05 15:38:54 +0000
commita4adab68d36edfecd5c27bc06084b305a5ea6200 (patch)
tree81987c59a49d15744cc29e126872ff54c1fcb732 /chrome/browser/chromeos
parent28e9e9a8bd3c8b312c154415d6320584690765b8 (diff)
downloadchromium_src-a4adab68d36edfecd5c27bc06084b305a5ea6200.zip
chromium_src-a4adab68d36edfecd5c27bc06084b305a5ea6200.tar.gz
chromium_src-a4adab68d36edfecd5c27bc06084b305a5ea6200.tar.bz2
Remove horizontal lines from the language config view.
BUG=crosbug.com/2349 TEST=manually checked the appearance Review URL: http://codereview.chromium.org/1572021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos')
-rw-r--r--chrome/browser/chromeos/options/language_config_view.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/chromeos/options/language_config_view.cc b/chrome/browser/chromeos/options/language_config_view.cc
index 6a2bf51..6023317 100644
--- a/chrome/browser/chromeos/options/language_config_view.cc
+++ b/chrome/browser/chromeos/options/language_config_view.cc
@@ -473,11 +473,12 @@ views::View* LanguageConfigView::CreateContentsOnLeft() {
IDS_OPTIONS_SETTINGS_LANGUAGES_LANGUAGES),
TableColumn::LEFT, -1, 0);
columns.push_back(column);
+ // We don't show horizontal and vertical lines.
+ const int options = (views::TableView2::SINGLE_SELECTION |
+ views::TableView2::RESIZABLE_COLUMNS |
+ views::TableView2::AUTOSIZE_COLUMNS);
preferred_language_table_ =
- new views::TableView2(this,
- columns,
- views::TEXT_ONLY,
- true, true, true);
+ new views::TableView2(this, columns, views::TEXT_ONLY, options);
// Set the observer so OnSelectionChanged() will be invoked when a
// selection is changed in the table.
preferred_language_table_->SetObserver(this);