summaryrefslogtreecommitdiffstats
path: root/layout/xul/grid/examples/scrollingcolumns.xul
blob: f29909624848fc818ef6d50b31976e15c7204fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0"?> 
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->


<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 

<!DOCTYPE window> 


<window orient="vertical"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 

  <hbox flex="1">
    <grid style="border: 2px solid red" flex="1">

       <rows>
				<row flex="1"/>
				<row flex="1"/>
				<row flex="1"/>
           </rows>
       <columns>

		   <column>
	   		  <button label="left"/>
	   		  <button label="left"/>
	   		  <button label="left"/>
   		   </column>

         <columns flex="1" style="min-width: 1px; overflow: auto; background-color: green">
           <column>
	   	  	  <button label="cell1"/>
	   	  	  <button label="cell1"/>
	   	  	  <button label="cell1"/>
	       </column>
           <column>
	   	  	  <button label="cell2"/>
	   	  	  <button label="cell2"/>
	   	  	  <button label="cell2"/>
	       </column>
           <column>
	   	  	  <button label="cell3"/>
	   	  	  <button label="cell3"/>
	   	  	  <button label="cell3"/>
	       </column>
           <column>
	   	  	  <button label="cell4"/>
	   	  	  <button label="cell4"/>
	   	  	  <button label="cell4"/>
	       </column>
           <column>
	   	  	  <button label="cell5"/>
	   	  	  <button label="cell5"/>
	   	  	  <button label="cell5"/>
	       </column>
           <column>
	   	  	  <button label="cell6"/>
	   	  	  <button label="cell6"/>
	   	  	  <button label="cell6"/>
	       </column>
           <column>
	   	  	  <button label="cell7"/>
	   	  	  <button label="cell7"/>
	   	  	  <button label="cell7"/>
	       </column>
	   </columns>
  		   <column>
	   		  <button label="right"/>
	   		  <button label="right"/>
	   		  <button label="right"/>
   		   </column>

	 </columns>

	</grid>
	<spacer width="100"/>
  </hbox>
  <spacer height="100"/>
</window>