Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request]: Set max text box size (Example Number of Rows, 1 Row, 2 Rows, 3 Rows etc)

Open
#3,670 2 comments 1 reaction 0 assignees View on GitHub
enhancement
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)

![Image](https://github.com/user-attachments/assets/b8313094-4034-47a0-9570-ce892fe67c42)

![Image](https://github.com/user-attachments/assets/34521481-be47-45b8-8ac2-0a4aeb0611bf)

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 -

![Image](https://github.com/user-attachments/assets/5c94fa00-139f-4021-9402-9cf192b10559)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.