-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.15.0
-
None
Setting the content width/height is uniquely greater than the ListView itself allows vertical scrolling but not the horizontally one.
Example:
Window {
id: window
visible: true
width: 400
height: 400
ListView {
anchors.fill: parent
model: 100
delegate: Text {
text: "aaaaaaaaa bbbbbbb cccccc ddddd eeeee ffff gggg hhhh iii ggggg" + index
}
ScrollBar.vertical: ScrollBar {}
ScrollBar.horizontal: ScrollBar {}
}
}
Both the scrollbars are visible but only vertical scrolling is available.
- duplicates
-
QTBUG-82290 ListView should set implicitWidth to the max of its delegates' widths
-
- Reported
-