layout/xul/grid/examples/divrowgrid.xul

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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="width: 100px; border: 2px solid red;">     
    17 	   <rows>
    18 	     <row style="font-size: 40px">
    19 			 <text value="foo1"/>
    20 			 <text value="foo2"/>
    21 		 </row>
    22 		<description>
    23 			this is some html in the row this should wrap if it is big enough.
    24 		</description>
    25 	     <row style="font-size: 40px">
    26 			 <text value="foo3"/>
    27 			 <text value="foo4"/>
    28 		 </row>
    30 	   </rows>
    31 	</grid>
    32 	<spacer flex="1" style="background-color: white"/>
    33   </hbox>
    36 </window>

mercurial