1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/xul/grid/examples/flexgroupgrid.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,47 @@ 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 +<?xml-stylesheet href="gridsample.css" type="text/css"?> 1.12 + 1.13 +<!DOCTYPE window> 1.14 + 1.15 + 1.16 +<window orient="vertical" 1.17 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 1.18 + 1.19 + <hbox> 1.20 + <grid style="border: 2px inset gray;" flex="1"> 1.21 + <columns> 1.22 + <columns style="border: 10px solid red" flex="1"> 1.23 + <column flex="2"/> 1.24 + <column flex="1"/> 1.25 + </columns> 1.26 + <column flex="1"/> 1.27 + </columns> 1.28 + 1.29 + <rows style="font-size: 20pt"> 1.30 + <rows> 1.31 + <row> 1.32 + <text class="yellow" value="CellA"/> 1.33 + <text class="yellow" value="CellAB"/> 1.34 + <text class="yellow" value="CellABC"/> 1.35 + </row> 1.36 + <row> 1.37 + <text class="yellow" value="CellA"/> 1.38 + <text class="yellow" value="CellAB"/> 1.39 + <text class="yellow" value="CellABC"/> 1.40 + </row> 1.41 + </rows> 1.42 + <row> 1.43 + <text class="yellow" value="CellA"/> 1.44 + <text class="yellow" value="CellAB"/> 1.45 + <text class="yellow" value="CellABC"/> 1.46 + </row> 1.47 + </rows> 1.48 + </grid> 1.49 + </hbox> 1.50 +</window>