Allow to use width attribute in button columns of tree views
This commit is contained in:
@@ -752,7 +752,10 @@ displayed in the same column with the attributes:
|
||||
button
|
||||
------
|
||||
|
||||
Same as form-button_.
|
||||
Same as form-button_ with the addition of:
|
||||
|
||||
``width``
|
||||
The width of the column.
|
||||
|
||||
List-Form
|
||||
=========
|
||||
|
||||
@@ -96,6 +96,7 @@ attlist.button &= attribute change { text }?
|
||||
attlist.button &= attribute type { "class" | "instance" }?
|
||||
attlist.button &=
|
||||
[ a:defaultValue = "0" ] attribute tree_invisible { text }?
|
||||
attlist.button &= attribute width { text }?
|
||||
data = element data { attlist.data, xpath* }
|
||||
attlist.data &= empty
|
||||
xpath = element xpath { attlist.xpath,
|
||||
|
||||
@@ -487,6 +487,14 @@
|
||||
</attribute>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="attlist.button" combine="interleave">
|
||||
<optional>
|
||||
<attribute>
|
||||
<name ns="">width</name>
|
||||
<text/>
|
||||
</attribute>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="data">
|
||||
<element>
|
||||
<name ns="">data</name>
|
||||
|
||||
Reference in New Issue
Block a user