[doc] update module documentation
This commit is contained in:
parent
3ce8e2f278
commit
1d25be2059
3 changed files with 58 additions and 18 deletions
|
@ -33,9 +33,7 @@ def scrollable(func):
|
|||
widget.set("scrolling.direction", "right")
|
||||
widget.set("__content__", text)
|
||||
|
||||
width = widget.get(
|
||||
"theme.width", util.format.asint(module.parameter("width", 30))
|
||||
)
|
||||
width = util.format.asint(module.parameter("scrolling.width", 30))
|
||||
if util.format.asbool(module.parameter("scrolling.makewide", True)):
|
||||
widget.set("theme.minwidth", "A" * width)
|
||||
if width < 0 or len(text) <= width:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue