layout/xul/grid/examples/borderedrowscolumns3.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/xul/grid/examples/borderedrowscolumns3.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,57 @@
     1.4 +<?xml version="1.0"?> 
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +
    1.10 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
    1.11 +
    1.12 +<!DOCTYPE window> 
    1.13 +
    1.14 +
    1.15 +<window orient="vertical"
    1.16 +        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    1.17 +
    1.18 +  <hbox>
    1.19 +    <grid style="border: 2px inset gray;" id="grid">
    1.20 +	   <columns>
    1.21 +  	      <column/>
    1.22 +  	      <columns style="border: 10px solid red">
    1.23 +  	         <column/>
    1.24 +		  </columns>
    1.25 +  	      <column/>
    1.26 +       </columns>
    1.27 +
    1.28 +       <rows style="font-size: 24pt">
    1.29 +	     <row>
    1.30 +		   <text value="Cell(1)"/>
    1.31 +		   <text value="Cell(2)"/>
    1.32 +		   <text value="Cell(3)"/>
    1.33 +		 </row>
    1.34 +		   <rows style="border: 10px solid green">
    1.35 +			 <row>
    1.36 +			   <text value="Cell(1)"/>
    1.37 +			   <text value="Cell(2)"/>
    1.38 +			   <text value="Cell(3)"/>
    1.39 +			 </row>
    1.40 +			 <row>
    1.41 +			   <text value="Cell(4)"/>
    1.42 +			   <text value="Cell(5)"/>
    1.43 +			   <text value="Cell(6)"/>
    1.44 +			 </row>
    1.45 +			 <row>
    1.46 +			   <text value="Cell(7)"/>
    1.47 +			   <text value="Cell(8)"/>
    1.48 +			   <text value="Cell(9)"/>
    1.49 +			 </row>
    1.50 +
    1.51 +		   </rows>	     
    1.52 +	     <row>
    1.53 +		   <text value="Cell(7)"/>
    1.54 +		   <text value="Cell(8)"/>
    1.55 +		   <text value="Cell(9)"/>
    1.56 +		 </row>
    1.57 +	   </rows>
    1.58 +	</grid>
    1.59 +  </hbox>
    1.60 +</window>

mercurial