Allow to use width attribute in button columns of tree views

This commit is contained in:
Nicolas Évrard
2023-07-05 10:08:42 +02:00
parent e445dac393
commit 0918f6f425
3 changed files with 13 additions and 1 deletions
+4 -1
View File
@@ -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
=========
+1
View File
@@ -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,
+8
View File
@@ -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>