toolkit/content/widgets/groupbox.xml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <?xml version="1.0"?>
     2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     3    - License, v. 2.0. If a copy of the MPL was not distributed with this
     4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     7 <bindings id="groupboxBindings"
     8    xmlns="http://www.mozilla.org/xbl"
     9    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    10    xmlns:xbl="http://www.mozilla.org/xbl">
    12   <binding id="groupbox-base">
    13     <resources>
    14       <stylesheet src="chrome://global/skin/groupbox.css"/>
    15     </resources>
    16   </binding>
    18   <binding id="groupbox" role="xul:groupbox"
    19     extends="chrome://global/content/bindings/groupbox.xml#groupbox-base">
    20     <content>
    21       <xul:hbox class="groupbox-title" align="center" pack="start">
    22         <children includes="caption"/>
    23       </xul:hbox>
    24       <xul:box flex="1" class="groupbox-body" xbl:inherits="orient,align,pack">
    25         <children/>
    26       </xul:box>
    27     </content>
    28   </binding>
    30   <binding id="caption" extends="chrome://global/content/bindings/general.xml#basetext">
    31     <resources>
    32       <stylesheet src="chrome://global/skin/groupbox.css"/>
    33     </resources>
    35     <content>
    36       <children>
    37         <xul:image class="caption-icon" xbl:inherits="src=image"/>
    38         <xul:label class="caption-text" flex="1"
    39                    xbl:inherits="default,value=label,crop,accesskey"/>
    40       </children>
    41     </content>
    42   </binding>
    44 </bindings>

mercurial