2011-08-06 16:36:44 +02:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<overlay>
|
|
|
|
<label value="Grid with horizontal orientation:"/>
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<label value="Northwest"/>
|
|
|
|
<label value="Northeast"/>
|
|
|
|
</row>
|
|
|
|
<label value="Equator"/>
|
|
|
|
<row>
|
|
|
|
<label value="Southwest"/>
|
|
|
|
<label value="Southeast"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
|
|
|
|
<label value="Grid with vertical orientation:"/>
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column>
|
|
|
|
<label value="Northwest"/>
|
2011-08-10 16:36:31 +02:00
|
|
|
<label value="Southwest"/>
|
2011-08-06 16:36:44 +02:00
|
|
|
</column>
|
|
|
|
<label value="Equator"/>
|
|
|
|
<column>
|
2011-08-10 16:36:31 +02:00
|
|
|
<label value="Northeast"/>
|
2011-08-06 16:36:44 +02:00
|
|
|
<label value="Southwest"/>
|
|
|
|
</column>
|
|
|
|
</columns>
|
|
|
|
|
2011-08-10 16:36:31 +02:00
|
|
|
|
2011-08-06 16:36:44 +02:00
|
|
|
<rows>
|
|
|
|
<row/>
|
|
|
|
<row/>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
|
2011-08-07 15:43:46 +02:00
|
|
|
<label value="Horizontal span test:" />
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column/>
|
|
|
|
<column/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<label value="1" span="2"/>
|
|
|
|
<label value="3" span="2"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<label value="1"/>
|
|
|
|
<label value="2" span="3"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<label value="1"/>
|
|
|
|
<label value="2"/>
|
|
|
|
<label value="3"/>
|
|
|
|
<label value="4"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<label value="1"/>
|
|
|
|
<label value="2" span="1"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<label value="1"/>
|
|
|
|
<label value="2"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<label value="1"/>
|
|
|
|
<label value="2" span="all"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
|
|
|
|
<label value="Vertical span test:" />
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column>
|
|
|
|
<label span="3" value="1"/>
|
|
|
|
<label span="1" value="4"/>
|
|
|
|
<label span="1" value="5"/>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<label span="1" value="1"/>
|
|
|
|
<label span="2" value="2"/>
|
|
|
|
<label span="2" value="4"/>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<label span="1" value="1"/>
|
|
|
|
<label value="2"/>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<label span="1" value="1"/>
|
|
|
|
<label span="all" value="2"/>
|
|
|
|
</column>
|
|
|
|
<column>
|
|
|
|
<label span="1" value="1"/>
|
|
|
|
<label span="1" value="2"/>
|
|
|
|
</column>
|
|
|
|
</columns>
|
|
|
|
|
|
|
|
<rows>
|
|
|
|
<row/>
|
|
|
|
<row/>
|
|
|
|
<row/>
|
|
|
|
<row/>
|
|
|
|
<row/>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
|
|
|
|
<template id="embedded_grid">
|
|
|
|
<label value="Grid embedded in template:"/>
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column>
|
|
|
|
<label value="Northwest"/>
|
2011-08-10 16:36:31 +02:00
|
|
|
<label value="Southwest"/>
|
2011-08-07 15:43:46 +02:00
|
|
|
</column>
|
|
|
|
<label value="Equator"/>
|
|
|
|
<column>
|
2011-08-10 16:36:31 +02:00
|
|
|
<label value="Northeast"/>
|
2011-08-07 15:43:46 +02:00
|
|
|
<label value="Southwest"/>
|
|
|
|
</column>
|
|
|
|
</columns>
|
|
|
|
|
|
|
|
<rows>
|
|
|
|
<row/>
|
|
|
|
<row/>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<template id="embedded_grid" />
|
|
|
|
|
|
|
|
<label value="MDN XUL Grid Tutorial Example 1:"/>
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<button label="Rabbit"/>
|
|
|
|
<button label="Elephant"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<button label="Koala"/>
|
|
|
|
<button label="Gorilla"/>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
|
|
|
|
<label value="MDN XUL Grid Tutorial Example 2:"/>
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<label value="Document Title:"/>
|
|
|
|
<textbox id="doctitle"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
|
|
<label value="Path:"/>
|
|
|
|
<hbox>
|
|
|
|
<textbox id="docpath"/>
|
|
|
|
<button label="Browse..."/>
|
|
|
|
</hbox>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
|
|
|
|
<label value="Grid in grid"/>
|
|
|
|
<grid spacing="1" padding="1">
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<label value="There is another grid to my right:"/>
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<label value="Lonely label in a grid." />
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
</row>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
|
|
|
|
|
2011-08-06 16:36:44 +02:00
|
|
|
</overlay>
|
|
|
|
|