I’m creating this scrollbox UMG element, but I cannot for the life of me figure out how to get the thumb image to scale correctly. Here is what it’s supposed to look like (my composed PNG of both the scrollbar and thumb overlayed):
As you can see, I correctly set the X and Y dimensions for the image and the preview even seems to show me the correct result.
How can I manually adjust the scale of the thumb? I don’t want the thumb to stretch from the top of the scrollbar to the bottom and get smaller the more items are in the scrollbox. I want the thumb size to always be the same, but rather scroll down through the scrollbar quicker if there’s less items in the scrollbox.
The scrollbar in slate is not designed to behave that way, so you’ll need to make a new kind of scrollbar, and modify UMG’s scrollbox to expose setting a custom external scrollbar widget to your new custom scrollbar.
Probably because the feature you need has not been put yet into the engine. There needs to be a flag of some kind to allow the scrollbox to rescale the image, or not to when putting more things into it.
Its not very hard with custom slider. Hide native scroll box slider, create new one, place it on same canvas as ScrollBox we want to scroll. Create event ‘on value change’ and bind slider value, as on pictures. Wish it was that easy from beginning =)