Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus RichTextArea by mouse. #296

Open
tonydroy opened this issue Dec 7, 2023 · 0 comments
Open

Focus RichTextArea by mouse. #296

tonydroy opened this issue Dec 7, 2023 · 0 comments

Comments

@tonydroy
Copy link

tonydroy commented Dec 7, 2023

Style a RichTextArea so that it looks like a TextField (with space for only one line). Compared to a real TextField, it is very difficult to focus by mouse click -- only certain very fine locations will work. This issue may be related to #154.

Addendum: I have been able to work around this by wrapping the RTA in an HBox, with a mouse filter on the HBox that requests focus on its RTA when the box gets a mouse pressed event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant