Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javafx version The scroll bar is missing when the window shrinks #322

Open
annpeter opened this issue Dec 3, 2023 · 4 comments
Open

javafx version The scroll bar is missing when the window shrinks #322

annpeter opened this issue Dec 3, 2023 · 4 comments

Comments

@annpeter
Copy link

annpeter commented Dec 3, 2023

The scroll bar is missing when the window shrinks

When the window is big

image

When the window is small

image

@pcorless
Copy link
Owner

pcorless commented Dec 4, 2023

I'll see if I can reproduce it using the example jfx app.

@annpeter
Copy link
Author

annpeter commented Dec 4, 2023

I'll see if I can reproduce it using the example jfx app.

i just use the example jfx app.

@pcorless
Copy link
Owner

pcorless commented Dec 5, 2023

It's been a while since I looked at this demo but it appears the addition of the JToolbar is causing the layout to have fixed minimum width. The scene window shrinks but the wrapped swing components don't. Layout seems to work better if the toolbar is omitted. It is possible to build up the toolbar using swing nodes, but it's a bit of work.

Ultimately building out a new Viewer RI with JavaFX is the way to go. I'll try and carve out some time in the new year and dust off some old development branch where I had built out JavaFX based page view component.

@annpeter
Copy link
Author

annpeter commented Dec 8, 2023

In which branch, have you made any progress now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants