I've got a really annoying problem. I want my ScrollPane to fit my content, but the properties fitToHeight and fitToWidth aren't working.
<ScrollPane
id="topPane"
fitToHeight="true"
fitToWidth="true">
<content>
<GridPane
hgap="15"
vgap="15"
alignment="CENTER"
minHeight="1000"
minWidth="1000">
..............[Something else]............
</GridPane>
</content>
</ScrollPane>
I tried to google it, but I didn't find an appropriate answer.
regards,
Dom
fitToHeight
andfitToWidth
to betrue
, it doesn't seem to make much sense to use aScrollPane
at all. – James_D