зеркало из https://github.com/mozilla/gecko-dev.git
67 строки
2.6 KiB
XML
67 строки
2.6 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<bindings id="menulistBindings"
|
|
xmlns="http://www.mozilla.org/xbl"
|
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
|
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<!--
|
|
BINDING : menulist
|
|
XUL REPRESENTATION : <menulist>
|
|
-->
|
|
<binding id="menulist" extends="chrome://global/content/menulistBindings.xml#menulist">
|
|
<content>
|
|
<xul:box class="menulist-internal-box" flex="1">
|
|
<xul:box class="menulist-display-box" flex="1" valign="middle" autostretch="never">
|
|
<xul:image class="menulist-icon" inherits="src"/>
|
|
<xul:text class="menulist-text" inherits="value=label,accesskey" crop="right" flex="1"/>
|
|
</xul:box>
|
|
<xul:box class="menulist-dropmarker-box-1" valign="middle" inherits="open">
|
|
<xul:box class="menulist-dropmarker-box-2" flex="1" autostretch="never" valign="middle" inherits="open">
|
|
<xul:image class="menulist-dropmarker" inherits="disabled"/>
|
|
</xul:box>
|
|
</xul:box>
|
|
</xul:box>
|
|
<children includes="menupopup"/>
|
|
</content>
|
|
</binding>
|
|
|
|
<binding id="menulist-editable" extends="chrome://global/content/menulistBindings.xml#menulist-editable">
|
|
<content>
|
|
<xul:box class="menulist-internal-box" flex="1">
|
|
<xul:box class="menulist-display-box" flex="1" valign="middle" autostretch="never">
|
|
<xul:image class="menulist-icon" inherits="src"/>
|
|
<html:input type="text" class="menulist-editable-text" inherits="value=label,accesskey" flex="1"/>
|
|
</xul:box>
|
|
<xul:box class="menulist-dropmarker-box-1" valign="middle" inherits="open">
|
|
<xul:box class="menulist-dropmarker-box-2" flex="1" autostretch="never" valign="middle" inherits="open">
|
|
<xul:image class="menulist-dropmarker" inherits="disabled"/>
|
|
</xul:box>
|
|
</xul:box>
|
|
</xul:box>
|
|
<children includes="menupopup"/>
|
|
</content>
|
|
</binding>
|
|
|
|
<binding id="menulistpopup">
|
|
<content>
|
|
<xul:box class="menulistpopup-internal-box" orient="vertical" flex="1" style="overflow: auto">
|
|
<children/>
|
|
</xul:box>
|
|
</content>
|
|
</binding>
|
|
|
|
<binding id="menulist-compact" extends="chrome://global/content/menulistBindings.xml#menulist">
|
|
<content flex="1">
|
|
<xul:box class="menulist-compact-internal-box" flex="1" autostretch="never">
|
|
<xul:image class="menulist-compact-dropmarker" inherits="disabled"/>
|
|
<xul:spring flex="1"/>
|
|
<xul:text class="menulist-compact-text" inherits="value=label,accesskey,crop,disabled" crop="right"/>
|
|
</xul:box>
|
|
<children includes="menupopup"/>
|
|
</content>
|
|
</binding>
|
|
|
|
|
|
|
|
</bindings> |