Bug 79948, fix pref window size. r=pchen, sr=waterson & bonus fix for 79949

This commit is contained in:
ben%netscape.com 2006-05-17 02:29:49 +00:00
Родитель 0cac70aec5
Коммит b92c620557
6 изменённых файлов: 25 добавлений и 26 удалений

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

@ -87,8 +87,7 @@
<!-- toolbar buttons customization -->
<titledbox flex="1" orient="vertical">
<label value="&header3.label;"/>
<html>&toolbarIntro.label;</html>
<label value="&toolbarIntro.label;"/>
<tree flex="1" class="dialog inset" style="-moz-user-focus:ignore !important;">
<treecolgroup>
<treecol flex="1"/>

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

@ -6,17 +6,18 @@
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref.dtd" >
<window id="prefWindow"
<!-- This dialog has a fixed size and is not resizable.
You MAY NOT increase the size of this dialog.
Questions, Comments -> ben@netscape.com -->
<window id="prefDialog"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&prefWindow.title;"
orient="vertical"
class="dialog"
persist="screenX screenY width height"
screenX="24" screenY="24"
onload="Startup();"
width="620" height="470">
orient="vertical" class="dialog"
style="width: 51em; height: 40em;"
onload="Startup();">
<script>
<![CDATA[
@ -49,11 +50,14 @@
<keyset id="dialogKeys"/>
<box flex="1">
<hbox flex="1">
<vbox flex="19">
<text class="label" value="&categoryHeader;"/>
<!-- tree sidebar -->
<tree class="inset" id="prefsTree" style="width: 0px" flex="3"/>
<tree class="inset" id="prefsTree" style="width: 0px" flex="1"/>
</vbox>
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="7"/>
<iframe id="panelFrame" name="panelFrame" style="width:0px" flex="81"/>
<script type="application/x-javascript">
<![CDATA[
if( window.arguments && window.arguments[0] ) {
@ -66,7 +70,7 @@
}
]]>
</script>
</box>
</hbox>
<separator/>

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

@ -37,14 +37,11 @@
]]>
</script>
<tree id="prefsTree"
onselect="if( hPrefWindow ) hPrefWindow.switchPage();">
<tree id="prefsTree" onselect="if( hPrefWindow ) hPrefWindow.switchPage();">
<treehead name="tree">
<treerow>
<treecell class="treecell-header outset" url="__header" label="&categoryHeader;"/>
</treerow>
</treehead>
<treecolgroup>
<treecol flex="1"/>
</treecolgroup>
<treechildren id="panelChildren" flex="1">
<treeitem container="true" open="true" id="appearance">

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

@ -17,8 +17,7 @@
<!ENTITY browseFile.label "Choose File...">
<!ENTITY browseFile.accesskey "c">
<!ENTITY header3.label "Toolbars">
<!ENTITY toolbarIntro.label "Select the buttons you want to see in the toolbars.">
<!ENTITY toolbarIntro.label "Select the buttons you want to see in the toolbars">
<!ENTITY bookmarksButton.label "Bookmarks">
<!ENTITY goButton.label "Go">

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

@ -2,4 +2,5 @@
<!-- LOCALIZATION NOTE : FILE UI for the outer parts of the Prefs dialog -->
<!ENTITY prefWindow.title "Preferences">
<!ENTITY categoryHeader.label "Category">
<!ENTITY categoryHeader "Category">

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

@ -1,6 +1,5 @@
<!-- extracted from content/preftree.xul -->
<!ENTITY categoryHeader "Category">
<!--LOCALIZATION NOTE : FILE Lists preferences categories that appear on the left of the preferences dialog -->
<!ENTITY appear.label "Appearance">
<!ENTITY fonts.label "Fonts">