layout/xul/grid/examples/borderedcolumns.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"?> 
     9 <!DOCTYPE window> 
    12 <window orient="vertical"
    13         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    15   <hbox>
    16     <grid style="border: 2px inset gray;" id="grid">
    17 	   <columns>
    18   	      <column style="border: 10px inset red;"/>
    19   	      <column/>
    20   	      <column style="border: 10px inset red;"/>
    21        </columns>
    23        <rows style="font-size: 20pt;">
    24 	     <row>
    25 		   <text value="Cell 1 "/>
    26 		   <text value="Cell 2 "/>
    27 		   <text value="Cell 3 "/>
    28 		 </row>
    29 	     <row>
    30 		   <text value="Cell 4 "/>
    31 		   <text value="Cell 5 " style="border: 10px inset red;"/>
    32 		   <text value="Cell 6 "/>
    33 		 </row>
    34 	     <row>
    35 		   <text value="Cell 7 "/>
    36 		   <text value="Cell 8 "/>
    37 		   <text value="Cell 9 "/>
    38 		 </row>
    40 	   </rows>
    41 	</grid>
    42   </hbox>
    43 </window>

mercurial