Get scroll position of ScrollArea
-
How do I get the scroll position of a QtQuick2
ScrollArea? I triedscrollArea.contentItem.yandscrollArea.viewport.ybut both return 0 always.I think one solution might be to put a
Flickableas theScrollArea's child. Is that gonna solve the problem? Also to me that's a hack, any way that's not a hack?