fix for bug 109264 - sidebar panel does not resize properly

This commit is contained in:
colinp%oeone.com 2001-11-17 02:57:17 +00:00
Родитель 8456ca4a98
Коммит 2289f4392d
4 изменённых файлов: 32 добавлений и 45 удалений

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

@ -113,7 +113,9 @@
<popup id="oe-date-picker-popup" position="after_start" oncommand="gCalendarWindow.goToDay( date )" value=""/>
<popup id="unifinder-options-menu">
<!--
<menuitem label="&calendar.menu.options.newcategory;" oncommand="unifinderNewCategoryCommand()" />
-->
<menuitem label="&calendar.menu.options.modify;" oncommand="unifinderModifyCommand()" />
<menuitem label="&calendar.menu.options.remove;" oncommand="unifinderRemoveCommand()" />
</popup>

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

@ -67,16 +67,12 @@
</vbox>
<tree id="unifinder-search-results-tree" class="unifinder-tree-class" >
<treecols>
<treecol flex="1" />
</treecols>
<tree id="unifinder-search-results-tree" class="unifinder-tree-class" flex="1">
<treechildren id="unifinder-search-results-tree-children" flex="1"/>
</tree>
<splitter id="unifinder-splitter" collapse="before" persist="state hidden collapsed"
class="chromeclass-extrachrome sidebar-splitter"
>
class="chromeclass-extrachrome sidebar-splitter">
<grippy class="sidebar-splitter-grippy"/>
</splitter>

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

@ -64,11 +64,7 @@
</xul:toolbar>
</xul:toolbox>
</xul:box>
<xul:tabbox class="unifinder-tab-box" unifinder-tab-box="true" orient="vertical" flex="1" >
<children includes="tabs"/>
<xul:spacer class="unifinder-tabs-spacer" />
<children includes="tabpanels"/>
</xul:tabbox>
<children />
</xul:box>
</content>
<implementation>
@ -130,9 +126,9 @@
<binding id="unifinder-search-controls" extends="chrome://penglobal/content/unifinderBindings.xml#unifinder-base">
<content orient="horizontal">
<xul:hbox>
<xul:hbox pack="center" align="start" flex="1">
<xul:label for="unifinder-search-field" value="&unifinder.search.options.searchfor;" />
<xul:textbox class="dialog-field" id="unifinder-search-field"
<xul:textbox id="unifinder-search-field"
inherits="onkeypress=keypressfunction" flex="1"/>
</xul:hbox>
</content>
@ -140,7 +136,7 @@
<binding id="unifinder-history-controls" extends="chrome://penglobal/content/unifinderBindings.xml#unifinder-base">
<content orient="horizontal">
<xul:hbox class="unifinder-sub-control-box-class">
<xul:hbox class="unifinder-sub-control-box-class" align="start" pack="center">
<xul:label for="unifinder-history-menu" value="&unifinder.history.options.documentsused;"/>
<xul:menulist class="dialog-field" label="&unifinder.history.menu.today;" data="day" >
<xul:menupopup >

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

@ -61,37 +61,30 @@
<unifinder id="calendar-unifinder-overlay">
<tabbox flex="1">
<toolbar id="unifinder-toolbar">
<!--
<unifinder-button id="unifinder-new-category-button" class="unifinder-new-category-button" tooltip="aTooltip" tooltiptext="&unifinder.toolbar.newfolder.tooltip;" oncommand="unifinderNewCategoryCommand()" />
-->
<unifinder-button id="unifinder-remove-button" class="unifinder-remove-button" tooltip="aTooltip" tooltiptext="&calendar.tools.delete.tooltip;" oncommand="unifinderRemoveCommand()" />
<unifinder-button id="unifinder-modify-button" class="unifinder-modify-button" tooltip="aTooltip" tooltiptext="&calendar.tools.modify.tooltip;" oncommand="unifinderModifyCommand()" />
</toolbar>
<tabs class="unifinder-tab" orient="horizontal" >
<tab label="&calendar.main.tab.label;" />
<tab label="&unifinder.tab.search.label;" />
</tabs>
<tabpanels flex="1">
<box>
<vbox id="unifinder-categories-box" flex="1"/>
</box>
<box flex="1">
<vbox flex="1" >
<unifinder-search-controls keypressfunction="unifinderSearchKeyPress( this, event )" />
<tree id="unifinder-search-results-tree" flex="1" />
</vbox>
</box>
</tabpanels>
</tabbox>
<!--
<unifinder-button id="unifinder-new-category-button" class="unifinder-new-category-button" tooltip="aTooltip" tooltiptext="&unifinder.toolbar.newfolder.tooltip;" oncommand="unifinderNewCategoryCommand()" />
-->
<unifinder-button id="unifinder-remove-button" class="unifinder-remove-button" tooltip="aTooltip" tooltiptext="&calendar.tools.delete.tooltip;" oncommand="unifinderRemoveCommand()" />
<unifinder-button id="unifinder-modify-button" class="unifinder-modify-button" tooltip="aTooltip" tooltiptext="&calendar.tools.modify.tooltip;" oncommand="unifinderModifyCommand()" />
<box flex="1">
<tabbox class="unifinder-tab-box" unifinder-tab-box="true" orient="vertical" flex="1" >
<tabs class="unifinder-tab" orient="horizontal" >
<tab label="&calendar.main.tab.label;" />
<tab label="&unifinder.tab.search.label;" />
</tabs>
<spacer class="unifinder-tabs-spacer" />
<tabpanels flex="1">
<vbox id="unifinder-categories-box" flex="1"/>
<vbox flex="1">
<unifinder-search-controls keypressfunction="unifinderSearchKeyPress( this, event )" />
<tree id="unifinder-search-results-tree" flex="1" />
</vbox>
</tabpanels>
</tabbox>
</box>
</unifinder>
</overlay>