I've struggled with this before. A few things that help IIRC:

set minHeight to 1em

Add a class that sets:
width: 100%;
resize: none;
white-space: nowrap;
overflow-x: scroll

I think that gets you close but not quite there.

On Tuesday, January 5, 2021 at 7:18:28 PM UTC+1 Mark S. wrote:

> When I create an edit-text widget with tags="textarea", rows=1, 
> autoHeight="no", instead of doing nothing, the widget generates a style 
> with height=400px.  Since this is a style, not a class, I have no hope of 
> overwriting this behaviour with a class. And apparently the height even 
> takes precedence over rows="1". 
>
> What I want is a textarea box that looks like an input area, and doesn't 
> expand vertically even if the input text is many lines long. I need it to 
> be a textarea box because an input won't retain linefeeds.
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bc04a59a-d4aa-49a6-a37f-7e1df94ec3e1n%40googlegroups.com.

Reply via email to