layout/xul/grid/examples/flexgroupgrid.xul

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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"?> 
     8 <?xml-stylesheet href="gridsample.css" type="text/css"?> 
    10 <!DOCTYPE window> 
    13 <window orient="vertical"
    14         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    16    <hbox>
    17       <grid style="border: 2px inset gray;" flex="1">
    18          <columns>
    19             <columns style="border: 10px solid red" flex="1">
    20             <column flex="2"/>
    21             <column flex="1"/>
    22             </columns>
    23             <column flex="1"/>
    24          </columns>
    26          <rows style="font-size: 20pt">
    27             <rows>
    28                <row>
    29                   <text class="yellow" value="CellA"/>
    30                   <text class="yellow" value="CellAB"/>
    31                   <text class="yellow" value="CellABC"/>
    32                </row>
    33                <row>
    34                   <text class="yellow" value="CellA"/>
    35                   <text class="yellow" value="CellAB"/>
    36                   <text class="yellow" value="CellABC"/>
    37                </row>
    38             </rows>
    39             <row>
    40                <text class="yellow" value="CellA"/>
    41                <text class="yellow" value="CellAB"/>
    42                <text class="yellow" value="CellABC"/>
    43             </row>  
    44          </rows>
    45       </grid>
    46    </hbox>
    47 </window>

mercurial