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

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>
michael@0 16 <grid style="border: 2px inset gray;" id="grid">
michael@0 17 <columns>
michael@0 18 <column/>
michael@0 19 <columns style="border: 10px solid red">
michael@0 20 <column/>
michael@0 21 </columns>
michael@0 22 <column/>
michael@0 23 </columns>
michael@0 24
michael@0 25 <rows style="font-size: 24pt">
michael@0 26 <row>
michael@0 27 <text value="Cell(1)"/>
michael@0 28 <text value="Cell(2)"/>
michael@0 29 <text value="Cell(3)"/>
michael@0 30 </row>
michael@0 31 <rows style="border: 10px solid green">
michael@0 32 <row>
michael@0 33 <text value="Cell(1)"/>
michael@0 34 <text value="Cell(2)"/>
michael@0 35 <text value="Cell(3)"/>
michael@0 36 </row>
michael@0 37 <row>
michael@0 38 <text value="Cell(4)"/>
michael@0 39 <text value="Cell(5)"/>
michael@0 40 <text value="Cell(6)"/>
michael@0 41 </row>
michael@0 42 <row>
michael@0 43 <text value="Cell(7)"/>
michael@0 44 <text value="Cell(8)"/>
michael@0 45 <text value="Cell(9)"/>
michael@0 46 </row>
michael@0 47
michael@0 48 </rows>
michael@0 49 <row>
michael@0 50 <text value="Cell(7)"/>
michael@0 51 <text value="Cell(8)"/>
michael@0 52 <text value="Cell(9)"/>
michael@0 53 </row>
michael@0 54 </rows>
michael@0 55 </grid>
michael@0 56 </hbox>
michael@0 57 </window>

mercurial