How to make a string parameter show as multiple lines
1643
5
0
-
- kodra
- Member

- 373 posts
- Joined: June 2023
- Offline
For example, let's say I have a very very long group expression as group parameter. Is it possible to show it in a "text box" so it's easier to read?
-
- alexwheezy
- Member

- 319 posts
- Joined: Jan. 2013
- Offline
The parameter has an option that is called Multi-line String.
-
- kodra
- Member

- 373 posts
- Joined: June 2023
- Offline
alexwheezy
The parameter has an option that is called Multi-line String.
Yes, but it's part of the operator's definition. I can't change it for the built-in nodes.
You can open a text editor to edit the expression. Right click on the parm, in the Expression tab, select Edit Expression/string (or hit Alt+E)
Houdini Pipeline Supervisor @ TAT Studio
-
- kodra
- Member

- 373 posts
- Joined: June 2023
- Offline
Well yes but that editor isn't like a text box, with wrapping and stuff. So you still have to make it extremely wide or scroll horizontally...
I know one can open in external editors. But, sigh...
Edited by kodra - Dec. 17, 2023 18:48:09
-
- kodra
- Member

- 373 posts
- Joined: June 2023
- Offline

By the way this is how multi-line field looks. It doesn't solve my problem: the user still have to scroll horizontally constantly for longer lines.
Attachments:
Screenshot 2023-12-19 145504.png (12.4 KB)