Sie sind nicht angemeldet.

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

1

Sonntag, 25. Oktober 2020, 01:16

Maxwidth on Textfield??

I know this has been discussed before and Klaus, some time ago you wrote that this would come in a future version. Seems it still isn't working so,

1) Any idea when it will be fixed?

2) Does anyone have a workaround that doesn't depend on a fixed pixel width regardless of the text width?

Sergey74

Fortgeschrittener

Beiträge: 193

Wohnort: Russia, Chelyabinsk

Beruf: professional noob

  • Nachricht senden

2

Sonntag, 25. Oktober 2020, 07:21

Alternatively, place a textfield in a container
translation difficulties *huh*

Scott Witte

Fortgeschrittener

  • »Scott Witte« ist der Autor dieses Themas

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

3

Sonntag, 25. Oktober 2020, 16:04

Unless I'm missing something I can't get a container to work for this (easily). If you define a container width in pixels the text will wrap to that width if the text width is 100%. The container will not size itself to the text, so maxwidth doesn't work.

There is a way to get the same effect programmatically but it is vastly more complex than being able to use maxwidth on a text field.