Fixed xul to use new treecolgroup in Composer main window b=30511 (by bryner, r=cmanske). Removed textfield in colorpicker - doesn't work, crashes in Linux b=41619, r=akkana

This commit is contained in:
cmanske%netscape.com 2000-06-22 01:13:28 +00:00
parent dfe84bc851
commit 26de5cacec
3 changed files with 10 additions and 7 deletions

View File

@ -604,7 +604,6 @@
<colorpicker id="TextColorPicker" palettename="standard" onclick="EditorSelectTextColor('TextColorPicker','TextColorPopupButton');"/>
<box valign="middle" autostretch="never">
<text class="label" value="&colorLabel.label;"/>
<textfield id="TextColorInput" flex="1" style="width: 1em"/>
<button class="dialog" value="&ok.label;" oncommand="SetManualTextColor()"/>
</box>
<button class="dialog" value="&colorPicker.default.label;" oncommand="EditorRemoveTextColor('TextColorPopupButton');"/>
@ -621,7 +620,6 @@
<colorpicker id="BackColorPicker" palettename="standard" onclick="EditorSelectBackColor('BackColorPicker','BackColorPopupButton');"/>
<box valign="middle" autostretch="never">
<text class="label" value="&colorLabel.label;"/>
<textfield id="BackColorInput" flex="1" style="width: 1em"/>
<button class="dialog" value="Ok" oncommand="SetManualBackColor()"/>
</box>
<button class="dialog" value="&colorPicker.default.label;" oncommand="EditorRemoveBackColor('BackColorPopupButton');"/>

View File

@ -45,7 +45,7 @@
<!-- Commented out until new tree content model and template builder can play nice -->
<template>
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<treechildren>
<treechildren flex="1">
<treeitem uri="...">
<treerow>
<treecell>
@ -57,7 +57,7 @@
</rule>
<rule>
<treechildren>
<treechildren flex="1">
<treeitem uri="...">
<treerow>
<treecell>
@ -70,7 +70,9 @@
</treechildren>
</rule>
</template>
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
<treecolgroup>
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name" flex="1"/>
</treecolgroup>
</tree>
</window>

View File

@ -47,7 +47,7 @@
<!-- Commented out until new tree content model and template builder can play nice -->
<template>
<rule>
<treechildren>
<treechildren flex="1">
<treeitem uri="...">
<treerow>
<treecell>
@ -60,7 +60,10 @@
</treechildren>
</rule>
</template>
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
<treecolgroup>
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name" flex="1"/>
</treecolgroup>
</tree>
</window>