RFR: 8178368: Right alignment of text fields works incorrectly
Karthik P K
kpk at openjdk.org
Fri Dec 23 13:49:59 UTC 2022
On Wed, 21 Dec 2022 10:58:50 GMT, Karthik P K <kpk at 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.
Sure Kevin, I will update that
-------------
PR: https://git.openjdk.org/jfx/pull/980
More information about the openjfx-dev
mailing list