diff --git a/CHANGELOG b/CHANGELOG index a4355e60d2..f8a84a6c35 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/trytond/ir/ui/form.rnc b/trytond/ir/ui/form.rnc index f50aa4b5f0..6849efcbf1 100644 --- a/trytond/ir/ui/form.rnc +++ b/trytond/ir/ui/form.rnc @@ -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, diff --git a/trytond/ir/ui/form.rng b/trytond/ir/ui/form.rng index d7d9cb3f07..dcd71485f3 100644 --- a/trytond/ir/ui/form.rng +++ b/trytond/ir/ui/form.rng @@ -616,6 +616,16 @@ + + + + + + + + + +