3
I have a Scrollpane anchored on the 4 sides of an Anchorpane so that when resizing the screen, the scroll also resizes. So I don’t need to specify a fixed size. Until then it works as I want.
The problem is that this way the methods getPrefWidth()
, getWidth()
, getMinWidth()
, getMaxWidth()
do not return the current scroll size.
Does anyone know how to get the size of the Scrollpane by defining its size by anchoring and not by hair sets
size-defining?
Thanks, Gustavo! It worked too well
– Paulo Weverton