> 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.
Karthik P K has updated the pull request incrementally with one additional commit since the last revision: Review comments ------------- Changes: - all: https://git.openjdk.org/jfx/pull/1263/files - new: https://git.openjdk.org/jfx/pull/1263/files/3da51824..0aa98ca9 Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=1263&range=01 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1263&range=00-01 Stats: 8 lines in 1 file changed: 4 ins; 2 del; 2 mod Patch: https://git.openjdk.org/jfx/pull/1263.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1263/head:pull/1263 PR: https://git.openjdk.org/jfx/pull/1263