Auto-width / text field / pre-pop...
Auto-width / text field / pre-pop...
Out of context: Reply #1
- Started
- Last post
- 4 Responses
- monNom0
You can stick the text into a span, use JS to grab the width of the span once it's rendered, then set your text field to match the width of the span. If you keep the fonts consistent you should end up with a pretty close result. maybe add a small fudge factor to prevent any issues with overflowing text.