change align="baseline" to align="center", bug 188807
s/commandManager/prefManager/ when trying to save view layout
tweak some spacing
This commit is contained in:
rginda%netscape.com 2003-01-21 21:21:15 +00:00
Родитель fe718003ac
Коммит 1eac4ed05a
5 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -53,20 +53,20 @@
<script src="chrome://venkman/content/venkman-utils.js"/>
<script src="chrome://venkman/content/venkman-bpprops.js"/>
<hbox align="baseline">
<hbox align="center">
<label value="&BPProps.URL.label;" minwidth="50px"/>
<textbox flex="1" readonly="true" id="url-textbox"/>
<label value="&BPProps.Line.label;" minwidth="25px"/>
<textbox readonly="true" id="line-textbox" width="50px"/>
</hbox>
<hbox align="baseline">
<hbox align="center">
<label value="&BPProps.FunctionName.label;" minwidth="50px"/>
<textbox flex="1" readonly="true" id="function-textbox" width="50px"/>
<label value="&BPProps.PC.label;" minwidth="25px"/>
<textbox readonly="true" id="pc-textbox" width="50px"/>
</hbox>
<hbox align="baseline">
<hbox align="center">
<checkbox id="enabled-checkbox" label="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
oncommand="makeDirty()" flex="1"/>
<checkbox id="onetime-checkbox" label="&BPProps.OneTime.label;"

Просмотреть файл

@ -1358,7 +1358,7 @@ function cmdSaveLayout (e)
var ary = console.viewManager.getLayoutState ();
var prefName = "layoutState." + e.name;
console.commandManager.addPref(prefName, "");
console.prefManager.addPref(prefName, "");
console.prefs[prefName] = ary.join ("; ");
}

Просмотреть файл

@ -33,7 +33,7 @@
*
*/
const __vnk_version = "0.9.44";
const __vnk_version = "0.9.45";
const __vnk_requiredLocale = "0.9.42+";
var __vnk_versionSuffix = "";

Просмотреть файл

@ -2114,7 +2114,7 @@ function ss_init ()
[
["close-source-tab"],
["reload-source-tab"],
["save-source-tab", { enabledif: "console.views.source2.canSave()" }],
["save-source-tab", {enabledif: "console.views.source2.canSave()"}],
["find-string"],
["-"],
["break",
@ -2134,7 +2134,7 @@ function ss_init ()
["-"],
["toggle-source-coloring",
{type: "checkbox",
checkedif: "console.prefs['services.source.colorize']"} ],
checkedif: "console.prefs['services.source.colorize']"}],
["toggle-pprint",
{type: "checkbox",
checkedif: "console.prefs['prettyprint']"}],

Просмотреть файл

@ -111,7 +111,7 @@
<floatingview id="scripts" title="&Scripts.label;" flex="1">
<vbox id="scripts-view-content" flex="1">
<hbox id="scripts-search-box" align="baseline" persist="hidden">
<hbox id="scripts-search-box" align="center" persist="hidden">
<label id="scripts-search-label" value="&ScriptsSearch.label;"
onclick="console.views.scripts.onSearchClear(event);"
tooltiptext="&ScriptsSearch.tooltip;"/>