How do I properly set the height of the scrollable pane in Y direction when loading the ScrollPane with LoadLayout? I know it doesn't really matter if it's it's scrolling in X or Y direction, but for this specific question I want to scroll in Y direction based on the pane's height, which can be set with innerheight as well.
Edit: I made a little source code example called ScrollPane you can try. Since Vpanel's height must correspond with the LoadLayout 2nd parameter I would like to grab the Vpanel's height and use it in LoadLayout, but perhaps that's not a preferable way. Comments are welcome and alternative solutions. Is there no need to set the nodes InnerHeight value? This is all autoscaling so it should work on any resolution.
Thanks
Edit: I made a little source code example called ScrollPane you can try. Since Vpanel's height must correspond with the LoadLayout 2nd parameter I would like to grab the Vpanel's height and use it in LoadLayout, but perhaps that's not a preferable way. Comments are welcome and alternative solutions. Is there no need to set the nodes InnerHeight value? This is all autoscaling so it should work on any resolution.
Thanks
Attachments
Last edited: