Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.15.8
-
None
Description
Under certain unclear conditions QML marks a scrollbar inside a scrollview as a non-existing object.
I have a condition similar to following:
Rectangle{
...
ColumnLayout{
...
Flickable{
...
ScrollView{
....
ScrollBar.vertical: ScrollBar
{ x: 710 width: 20 height: parent.height policy: ScrollBar.AsNeeded interactive: true }ColumnLayout
{ }
}
}
}
}
If I add the specifications for the scrollbar, the latter is marked as a non-existing object and therefore the code cannot be executed.
NB:
- The same error occurs by just replacing the entire scrollbar specifications with a simple line like ScrollBar.vertical.policy: ScrollBar.AlwaysOn.
- When the scrollbar is not explicitly added it either way appears.
- In an almost identical situation the scrollbar specifications can be successfully added.
Should further information be needed please feel free to contact me.
Regards