summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/options
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 02:35:38 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 02:35:38 +0000
commit038b29624ba801c52b452f2976ebe4090e83423b (patch)
tree610d9acbd8bcb5bc6eda43a0b184ac7d28c37cd9 /chrome/browser/chromeos/options
parent8a74682b947975ab6a383e5d6bee9fb5f9c3d287 (diff)
downloadchromium_src-038b29624ba801c52b452f2976ebe4090e83423b.zip
chromium_src-038b29624ba801c52b452f2976ebe4090e83423b.tar.gz
chromium_src-038b29624ba801c52b452f2976ebe4090e83423b.tar.bz2
Widen the preferred language table in the "Languages and Input".
The change is for fixng trauncation that occurs with German. BUG=chromium-os:3356 TEST=manually Review URL: http://codereview.chromium.org/2220004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48353 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/options')
-rw-r--r--chrome/browser/chromeos/options/language_config_view.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/options/language_config_view.cc b/chrome/browser/chromeos/options/language_config_view.cc
index eb275fa..5ee8528 100644
--- a/chrome/browser/chromeos/options/language_config_view.cc
+++ b/chrome/browser/chromeos/options/language_config_view.cc
@@ -46,6 +46,9 @@ namespace {
// defined in app/l10_util.cc.
const char kDefaultLanguageCode[] = "en-US";
+// The width of the preferred language table shown on the left side.
+const int kPreferredLanguageTableWidth = 300;
+
// Creates the LanguageHangulConfigView. The function is used to create
// the object via a function pointer. See also InitInputMethodConfigViewMap().
views::DialogDelegate* CreateLanguageHangulConfigView(Profile* profile) {
@@ -470,7 +473,7 @@ void LanguageConfigView::InitControlLayout() {
const int kMainColumnSetId = 0;
ColumnSet* column_set = root_layout->AddColumnSet(kMainColumnSetId);
column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 0,
- GridLayout::FIXED, 250, 0);
+ GridLayout::FIXED, kPreferredLanguageTableWidth, 0);
column_set->AddPaddingColumn(0, kRelatedControlHorizontalSpacing);
column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1.0,
GridLayout::USE_PREF, 0, 0);