Re: forms/src/GFParser.py - vbox/hbox - block - description: scrollbar?
Reinhard Mueller <[email protected]> Mon, 08 Aug 2011 19:51:14 +0200
| Newsgroups | gmane.comp.gnu.enterprise.devel |
|---|---|
| Organization | GNU Enterprise |
| Message-ID | <1312825874.2649.4.camel@pc01> |
Am Montag, den 08.08.2011, 09:37 -0700 schrieb Randall Whitman:
> Can I assume that such default applies for multiple nested levels,
> e.g. the following?
Yes, exactly. Also you can override the block in inner levels. Like
this:
<hbox block="one">
<vbox block="two">
.... here block "two" is the default ....
</vbox>
<vbox>
.... here block "one" is the default ....
<entry block="three" field="foo"/> <!--this overrides the default-->
</vbox>
</hbox>
If you consider the XML tree, you can say that every node can either
define the block explicitly or inherit it from its parent (container).
Thanks,
Reinhard