I know a gui rework is planned for 0.17... But I think the behaviour of the scroll bar doesn't work correctly...
I've set my scroll bar to only scroll in horizontal direction when needed:
Code: Select all
local configTableSlider = configTable.add{
type = "scroll-pane",
name = self.guiElementNames.configTableSlider,
horizontal_scroll_policy = "auto", -- default
vertical_scroll_policy = "never"}
As you can see in the upper image it added the horizontal scroll bar when there are too many items to fit... BUT it also added a vertical one, none the less there isn't a limitation on the frames hight... AND I didn't add anything else in the vertical direction between the two pictures
So then i changed the horizontal policy to "always".. That way i'm sure there is enough vertical space to fit it, resulting in this:
So even when the horizontal scroll bar was already in place, it still added the vertical one... And if I scroll down on the vertical one there was nothing below... I would expect setting the vertical one to "never" would prevent it from showing, at least when the horizontal one is already present, becose at that point the height don't change at all in this case..
greetings
lovely_santa
PS: since the forum didn't let me upload any pictures for some reason (see 57310), i couldn't include a save file / code and pictures are uploaded on imgur