Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.2.0
-
None
Description
Hello everyone,
I am migrating some software from Qt5 to Qt6. I am currently busy trying to solve some problems with a custom ScrollView (which was working fine before the migration):
ScrollView { id: scrollView default property alias contents: contentColumn.data // Data splits up items into resources and visual children ScrollBar.horizontal: ScrollBar { policy: ScrollBar.AlwaysOff } ScrollBar.vertical: ScrollBar { policy: ScrollBar.AsNeeded } Column { width: scrollView.width spacing: scrollView.spacing Column { id: contentColumn width: scrollView.width spacing: scrollView.spacing move: Transition { NumberAnimation { easing.type: Easing.OutQuint; properties: "y"; duration: 384 } } } } }
The idea behind is to automatically distribute the components in the scrollview as a column, with the given transition. However, this is what I get as a result:
The scrollbar appears in the top left corner, and even though it works (it scrolls up and down as it should) I don't understand why it looks like this. Any suggestions?
Thank you.