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

mercurial