On Tue, 17 Oct 2023 12:15:14 GMT, Karthik P K <k...@openjdk.org> wrote:

> Because of a missing conditional check in the `updateTextPos()`,  the 
> `textTranslateX` value was not getting updated when TextField size was 
> changed as a result of resizing window.
> 
> Updated the CENTER and LEFT cases in the `updateTextPos()` method to fix the 
> issue.
> 
> The fix can be validated using MonkeyTester.
> Steps to select TextField option in Monkey Tester.
> 
> - Open the MonkeyTester app and select TextField from the left option pane.
> - Select Long from Text selection option and TOP_LEFT from Alignment dropdown.
> - After above step, follow the steps given in the bug to validate the fix in 
> monkey tester.

@karthikpandelu there seems to much flicker.  Try placing the caret not at the 
end of the text, but a few characters before the end.
Could we make it more like JTextField behavior which tries to position the text 
such that it occupies all the available space?

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

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

Reply via email to