Add width/height attribute to notebook

issue7432
review47411002
This commit is contained in:
Cédric Krier committed 2018-05-29 10:32:41 +02:00
1 parent aab2b6e015
commit 13b211494c
3 files changed
+13

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
* Add width/height attribute to notebook
* Allow to call set_lang with None and language instance
* Add hostname configuration to list database
* Add tree mixin
+2
View File
@@ -152,6 +152,8 @@ attlist.button &= attribute type { "class" | "instance" }?
notebook = element notebook { attlist.notebook, page* }
attlist.notebook &= [ a:defaultValue = "4" ] attribute colspan { text }?
attlist.notebook &= attribute states { text }?
attlist.notebook &= attribute width { text }?
attlist.notebook &= attribute height { text }?
page =
element page {
attlist.page,
+10
View File
@@ -616,6 +616,16 @@
<attribute name="states"/>
</optional>
</define>
<define name="attlist.notebook" combine="interleave">
<optional>
<attribute name="width"/>
</optional>
</define>
<define name="attlist.notebook" combine="interleave">
<optional>
<attribute name="height"/>
</optional>
</define>
<define name="page">
<element name="page">
<ref name="attlist.page"/>