Fix alignment in setupSettingPanel.

This commit is contained in:
Gastón Kleiman 2011-02-19 06:12:24 +08:00 • committed by Fabian Jakobs
commit a04cee8dcc

View file

@ -392,16 +392,16 @@ function setupApi(editor, editorDiv, settingDiv, ace, options) {
function setupSettingPanel(settingDiv, settingOpener, api, options) { function setupSettingPanel(settingDiv, settingOpener, api, options) {
var BOOL = { var BOOL = {
"true": true, "true": true,
"false": false "false": false
} }
var desc = { var desc = {
mode: "Mode:", mode: "Mode:",
gutter: "Display Gutter:", gutter: "Display Gutter:",
theme: "Theme:", theme: "Theme:",
fontSize: "Font Size:", fontSize: "Font Size:",
softWrap: "Soft Wrap:", softWrap: "Soft Wrap:",
showPrintMargin: "Show Print Margin:" showPrintMargin: "Show Print Margin:"
} }
@ -419,18 +419,18 @@ function setupSettingPanel(settingDiv, settingOpener, api, options) {
}, },
theme: { theme: {
textmate: "Textmate", textmate: "Textmate",
eclipse: "Eclipse", eclipse: "Eclipse",
clouds: "Clouds", clouds: "Clouds",
clouds_midnight: "Clouds Midnight", clouds_midnight: "Clouds Midnight",
cobalt: "Cobalt", cobalt: "Cobalt",
dawn: "Dawn", dawn: "Dawn",
idle_fingers: "Idle Fingers", idle_fingers: "Idle Fingers",
kr_theme: "Kr Theme", kr_theme: "Kr Theme",
mono_industrial: "Mono Industrial", mono_industrial: "Mono Industrial",
monokai: "Monokai", monokai: "Monokai",
pastel_on_dark: "Pastel On Dark", pastel_on_dark: "Pastel On Dark",
twilight: "Twilight" twilight: "Twilight"
}, },
gutter: BOOL, gutter: BOOL,
fontSize: { fontSize: {