Comfy-Org / Comfy-Org/ComfyUI_frontend
[Feature Request]: Set max text box size (Example Number of Rows, 1 Row, 2 Rows, 3 Rows etc)
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues and checked the recent builds/commits
### What would your feature do ?
Some nodes turned "text fields" MASSIVE since 1.16.0
I've submitted a ticket with the Nodes I'm having issues with, most have responded this is a Frontend issue and not their node issue. They request I open a issue with Frontend. But I don't think it's a Bug, it is more a customization issue that I think can be easily resolved.
Example of the issue - (The one that is most noticeable)


What you see here is when the window is resized to accommodate the "Image Preview" that shows up on generation/image-save It expands the two boxes defined as "Text Input" boxed to "fill out" the maximum node (window) size.
This then leaves again no real room for the preview image at the bottom on generation. What it does is give the image preview a TINY amount of space.
This also happens if you link those two text boxes to strings etc. For example -

What I think will solve this issue is one of a few things.
1) Allow us to resize those boxes individually.
2) Allow us to set a text row limit.
3) If it is linked to an external source like the third image, it limits the row data to 1 regardless of how many lines of data the input is.
I think 3 is probably the best solution, since the "Ghosted" data doesn't update to what is being injected, it should probably just limit to 1 row no matter what...
### Proposed workflow
1. Go to ....
2. Press ....
3. ...
### Additional information
_No response_
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-3670-Feature-Request-Set-max-text-box-size-Example-Number-of-Rows-1-Row-2-Rows-3-Row-1e36d73d3650813b947ce960be67e925) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.