layout/xul/grid/examples/splitter.xul

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     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 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
     9 <!DOCTYPE window> 
    12 <window orient="vertical" style="border: 2px solid green"
    13         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    15   <hbox>
    16     <grid style="border: 2px solid red;">
    17 	   <columns>
    18          <column style="min-width: 1px"/>
    19          <splitter/>
    20          <column style="min-width: 1px"/>
    21 	   </columns>
    23 	   <rows>
    24 	     <row>
    25 			 <text style="font-size: 40px" value="foo1"/>
    26 			 <text style="font-size: 40px" value="foo2"/>
    27 		 </row>
    28 		 <label value="this is some text. This is longer"/>
    29 	     <row>
    30     		 <text style="font-size: 40px" value="foo1"/>
    31 			 <text style="font-size: 40px" value="foo2"/>
    32 		 </row>
    34 	   </rows>
    35 	</grid>
    36 	<spacer flex="1" style="background-color: white"/>
    37   </hbox>
    40 </window>

mercurial