Skip to content, Skip to search

Changes

Script Parameters

380 bytes added, 3 July
example using html to format messages
#@ String (visibility=MESSAGE, value="This is a documentation line") msg
#@ Integer (label="Some integer parameter") my_int
</source>
 
You can [https://forum.image.sc/t/multiline-messages-in-dialog-widgets/183 use HTML] to format the message string, for example:
[[File:ScijavaMultilineMessage.png|thumb]]
<source lang="python">
#@ String (visibility=MESSAGE, value="<html>Message line 1<br/>Message line 2<p>Let's make a list<ul><li>item a</li><li>item b</li></ul></html>") docmsg
#@ Integer anIntParam
</source>
Uploaders
79
edits