Steps to reproduce:
- Create or Open a Project with the Shader Graph installed
- In the Project Browser create a Shadergraph and open it
- Create a "Custom Function" Node
- With it selected, in the Graph Inspectors Node Settings change "Type" to "String"
- In the "Body" block paste a large string or just enter a lot of text
- Observe the "Body" blocks bounding box
Actual results:
The "Body" block doesn't have a vertical or a horizontal scrollbar and the user is not able to properly navigate the HLSL code that is inputted, the only way to do so is selecting text and dragging the cursor
The "Body" blocks bounding box enlarges to the right
The Graph Inspector is not immediately updated, and no horizontal scrollbar appears, when the Graph Inspector is resized the horizontal scrollbar appears
Expected results: The Graph inspector should not change size, the "Body" text block should have a vertical and a horizontal scrollbars if the text lenght and height call for it
Reproducible with versions: 2021.3.40f1, 2022.3.38f1, 6000.0.11f1
Tested on (OS): Windows 10/11