diff options
Diffstat (limited to 'layout/xul/grid/examples/scrollingrows.xul')
-rw-r--r-- | layout/xul/grid/examples/scrollingrows.xul | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/layout/xul/grid/examples/scrollingrows.xul b/layout/xul/grid/examples/scrollingrows.xul new file mode 100644 index 000000000..fd5077cde --- /dev/null +++ b/layout/xul/grid/examples/scrollingrows.xul @@ -0,0 +1,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"> + + <columns> + <column flex="1"/> + <column flex="1"/> + <column flex="1"/> + </columns> + + <rows> + <row> + <button label="left"/> + <button label="left"/> + <button label="left"/> + </row> + + <rows flex="1" style="border: 10px inset gray; overflow: auto; background-color: green"> + <row> + <button label="cell1"/> + <button label="cell1"/> + <button label="cell1"/> + </row> + <row> + <button label="cell2"/> + <button label="cell2"/> + <button label="cell2"/> + </row> + <row> + <button label="cell3"/> + <button label="cell3"/> + <button label="cell3"/> + </row> + <row> + <button label="cell4"/> + <button label="cell4"/> + <button label="cell4"/> + </row> + <row> + <button label="cell5"/> + <button label="cell5"/> + <button label="cell5"/> + </row> + <row> + <button label="cell6"/> + <button label="cell6"/> + <button label="cell6"/> + </row> + <row> + <button label="cell7"/> + <button label="cell7"/> + <button label="cell7"/> + </row> + </rows> + <row> + <button label="right"/> + <button label="right"/> + <button label="right"/> + </row> + + </rows> + + </grid> + <spacer width="100"/> + </hbox> + <spacer height="100"/> +</window> |