layout/xul/grid/examples/nestedrows.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

michael@0 1 <?xml version="1.0"?>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5
michael@0 6
michael@0 7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
michael@0 8
michael@0 9 <!DOCTYPE window>
michael@0 10
michael@0 11
michael@0 12 <window orient="vertical"
michael@0 13 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
michael@0 14
michael@0 15 <hbox flex="1">
michael@0 16 <grid style="border: 2px solid red" flex="1">
michael@0 17
michael@0 18 <columns>
michael@0 19 <column flex="1"/>
michael@0 20 <column flex="1"/>
michael@0 21 <column flex="1"/>
michael@0 22 </columns>
michael@0 23
michael@0 24 <rows>
michael@0 25 <row>
michael@0 26 <text value="out1"/>
michael@0 27 <text value="out2"/>
michael@0 28 <text value="out3"/>
michael@0 29 </row>
michael@0 30
michael@0 31 <rows flex="1" style="border: 10px inset yellow; font-size: 20pt">
michael@0 32 <row>
michael@0 33 <text value="in1"/>
michael@0 34 <text value="in2"/>
michael@0 35 <text value="in3"/>
michael@0 36 </row>
michael@0 37 <row>
michael@0 38 <text value="in4"/>
michael@0 39 <text value="in5"/>
michael@0 40 <text value="in5"/>
michael@0 41 </row>
michael@0 42 </rows>
michael@0 43
michael@0 44 </rows>
michael@0 45
michael@0 46 </grid>
michael@0 47 </hbox>
michael@0 48 </window>

mercurial