Label Text Selection

Tobias Oelgarte tobias.oelgarte at gmail.com
Fri Aug 16 15:17:47 UTC 2024


I would also like to see this implemented, but as an additional 
"SelectableLabel" control, to avoid side effects (ellipsise, ...).

I also had to use the non editable TextField hack way to often.

On 16.08.24 12:29, Thiago Milczarek Sayão wrote:
> Hi Dirk,
>
> This would be great. It's a feature I miss.
>
> On my scenario (we do a POS pharmacy software) users want to copy 
> things such as product code/barcode, description, etc.
>
> I think it's not a trivial task to develop this, since labels can 
> wrap, ellipsise. They are inside tables and other components.
>
> Some countries have user information protection laws, so it should not 
> always be enabled.
>
> -- Thiago
>
>
>
> Em sex., 16 de ago. de 2024 07:13, Dirk Lemmermann 
> <dlemmermann at gmail.com> escreveu:
>
>     Hi everyone,
>
>     I recently added a custom text control (called “TextView") to the
>     GemsFX project. It supports a somewhat limited text selection.
>     Selection is only possible on a per-word basis. I received a bit
>     of feedback on this control and I was wondering whether it would
>     be worth thinking about adding a general text selection capability
>     to labels. Is this something worth looking into? Is it even feasible?
>
>     I guess one of the reasons why this topic keeps popping up is the
>     fact that users are so used to selecting any text in web pages,
>     but they can’t do it in desktop apps.
>
>     Dirk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20240816/fc030fe4/attachment.htm>


More information about the openjfx-dev mailing list