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

Unified Diff: chrome/browser/resources/options/language_options.js

Issue 6241016: Fix a layout issue in the input method list in the language options on Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor cleanup Created 9 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/language_options.js
diff --git a/chrome/browser/resources/options/language_options.js b/chrome/browser/resources/options/language_options.js
index 9f6e793cd89fcacc42ce2c95201114d7de934a11..13a1d52e537b48c78663593d821ee56475b7020c 100644
--- a/chrome/browser/resources/options/language_options.js
+++ b/chrome/browser/resources/options/language_options.js
@@ -136,7 +136,10 @@ cr.define('options', function() {
this.handleCheckboxClick_.bind(this));
var label = document.createElement('label');
label.appendChild(input);
- label.appendChild(document.createTextNode(inputMethod.displayName));
+ // Adding a space between the checkbox and the text. This is a bit
+ // dirty, but we rely on a space character for all other checkboxes.
+ label.appendChild(document.createTextNode(
+ ' ' + inputMethod.displayName));
label.style.display = 'none';
label.languageCodeSet = inputMethod.languageCodeSet;
// Add the configure button if the config page is present for this
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698