layout/xul/grid/examples/scrollingcolumns.xul

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

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 <rows>
michael@0 19 <row flex="1"/>
michael@0 20 <row flex="1"/>
michael@0 21 <row flex="1"/>
michael@0 22 </rows>
michael@0 23 <columns>
michael@0 24
michael@0 25 <column>
michael@0 26 <button label="left"/>
michael@0 27 <button label="left"/>
michael@0 28 <button label="left"/>
michael@0 29 </column>
michael@0 30
michael@0 31 <columns flex="1" style="min-width: 1px; overflow: auto; background-color: green">
michael@0 32 <column>
michael@0 33 <button label="cell1"/>
michael@0 34 <button label="cell1"/>
michael@0 35 <button label="cell1"/>
michael@0 36 </column>
michael@0 37 <column>
michael@0 38 <button label="cell2"/>
michael@0 39 <button label="cell2"/>
michael@0 40 <button label="cell2"/>
michael@0 41 </column>
michael@0 42 <column>
michael@0 43 <button label="cell3"/>
michael@0 44 <button label="cell3"/>
michael@0 45 <button label="cell3"/>
michael@0 46 </column>
michael@0 47 <column>
michael@0 48 <button label="cell4"/>
michael@0 49 <button label="cell4"/>
michael@0 50 <button label="cell4"/>
michael@0 51 </column>
michael@0 52 <column>
michael@0 53 <button label="cell5"/>
michael@0 54 <button label="cell5"/>
michael@0 55 <button label="cell5"/>
michael@0 56 </column>
michael@0 57 <column>
michael@0 58 <button label="cell6"/>
michael@0 59 <button label="cell6"/>
michael@0 60 <button label="cell6"/>
michael@0 61 </column>
michael@0 62 <column>
michael@0 63 <button label="cell7"/>
michael@0 64 <button label="cell7"/>
michael@0 65 <button label="cell7"/>
michael@0 66 </column>
michael@0 67 </columns>
michael@0 68 <column>
michael@0 69 <button label="right"/>
michael@0 70 <button label="right"/>
michael@0 71 <button label="right"/>
michael@0 72 </column>
michael@0 73
michael@0 74 </columns>
michael@0 75
michael@0 76 </grid>
michael@0 77 <spacer width="100"/>
michael@0 78 </hbox>
michael@0 79 <spacer height="100"/>
michael@0 80 </window>

mercurial