RFR: 8245602: Ensemble8: HTMLEditor Toolbar gets scrolled out of view

Andy Goryachev angorya at openjdk.org
Tue Apr 1 17:51:23 UTC 2025


On Tue, 1 Apr 2025 06:47:59 GMT, Gopal Pattnaik <duke at openjdk.org> wrote:

> There was a scrolling issue with multiline edit control with text controls at the top of the edit box [JDK-8245602](https://bugs.openjdk.org/browse/JDK-8245602),
> 
> We replaced the ScrollPane with VBox control as the parent of the html edit control.
> 
> Verification:
> This makes the controls on the top of the edit control, And the texts scroll inside the text area as expected.
> Similar kind of behavior is seen in normal web pages with multiline edit controls inside it.

A general comment (tangentially related to the issue): the layout could be better in utilizing the available space:

![Screenshot 2025-04-01 at 10 37 01](https://github.com/user-attachments/assets/f852885d-8aba-46cb-b7e4-1d3a504711fb)
![Screenshot 2025-04-01 at 10 37 11](https://github.com/user-attachments/assets/80c668b0-a8e4-4811-b88f-19e2f28f6e34)
![Screenshot 2025-04-01 at 10 37 27](https://github.com/user-attachments/assets/cad80822-3ae1-4acb-af85-9c2a371c385a)

This fix is simple enough, 1 reviewer is probably sufficient.

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

PR Comment: https://git.openjdk.org/jfx/pull/1752#issuecomment-2770241601
PR Comment: https://git.openjdk.org/jfx/pull/1752#issuecomment-2770244367


More information about the openjfx-dev mailing list