RFR: 8205067: Resizing window with TextField hides text value

Karthik P K kpk at openjdk.org
Thu Oct 19 07:21:45 UTC 2023


On Wed, 18 Oct 2023 15:23:44 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> If you look at how JTextField behaves in a similar situation, there it tries to keep the end of text visible.

I see that in JTextField the end of the text gets clipped when we place the caret either at the end or in any other position and reduce the window size. This is different to what you suggested above. Attaching screenshot for reference.
<img width="274" alt="image" src="https://github.com/openjdk/jfx/assets/26969459/d265c9e4-81bd-4b8b-90c4-84b01edbc911">
Am I missing something here? Is there any changes I have to make to get the behavior you mentioned?

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1263#issuecomment-1770207630


More information about the openjfx-dev mailing list