On Wed, 21 Dec 2022 10:58:50 GMT, Karthik P K <k...@openjdk.org> wrote:
> When Text width was more than TextField width, condition to update > `textTranslateX` was not getting satisfied as calculated value was negative. > Hence the text was getting aligned to previous `textTranslateX` value. > > Added else block to update the `textTranslateX` value when calculated value > is negative. > > Added unit test to validate the fix. I checked all the alignment and text width combinations using the tester. I see that prompt text is working as expected for all alignment options and the text is not. I will fix the issues with text alignment as part of this bug. ------------- PR: https://git.openjdk.org/jfx/pull/980