icepdf icon indicating copy to clipboard operation
icepdf copied to clipboard

javafx version The scroll bar is missing when the window shrinks

Open annpeter opened this issue 1 year ago • 4 comments

The scroll bar is missing when the window shrinks

When the window is big

image

When the window is small

image

annpeter avatar Dec 03 '23 10:12 annpeter

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

pcorless avatar Dec 04 '23 03:12 pcorless

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

i just use the example jfx app.

annpeter avatar Dec 04 '23 03:12 annpeter

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.

pcorless avatar Dec 05 '23 06:12 pcorless

In which branch, have you made any progress now.

annpeter avatar Dec 08 '23 08:12 annpeter