I've come across an issue, the popup menu on my optionbutton is too large for my screen, so ive got a few questions...
1. Is it possible to change the layout of the popup menu, make it multiple columns
2. While with a mouse wheel I can scroll in the window, but not with touch. Im designing for mobile so need to touch. For a scrollcontainer i use code like this to get the swipe scrolling to work:
func _on_ScrollContainer_gui_input(event):
if (event is InputEventMouseButton and event.button_index == BUTTON_LEFT):
mouse_button_down = event.pressed;
if (event is InputEventMouseMotion and mouse_button_down):
scroll_container.scroll_vertical -= event.speed.y * SCROLL_SENSITIVITY
if (event is InputEventScreenDrag):
scroll_container.scroll_vertical -= event.relative.y