[vlc-devel] [PATCH 11/15] qml: fix KeyNavigableListView horizontal scrollbar in Qt 5.15
Fatih Uzunoglu
fuzun54 at outlook.com
Thu Feb 11 21:23:39 UTC 2021
---
modules/gui/qt/widgets/qml/KeyNavigableListView.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/widgets/qml/KeyNavigableListView.qml b/modules/gui/qt/widgets/qml/KeyNavigableListView.qml
index 950819628e..9c808f2595 100644
--- a/modules/gui/qt/widgets/qml/KeyNavigableListView.qml
+++ b/modules/gui/qt/widgets/qml/KeyNavigableListView.qml
@@ -136,7 +136,7 @@ NavigableFocusScope {
clip: true
ScrollBar.vertical: ScrollBar { id: scroll_id }
- ScrollBar.horizontal: ScrollBar { }
+ ScrollBar.horizontal: ScrollBar { visible: view.contentWidth > view.width }
highlightMoveDuration: 300 //ms
highlightMoveVelocity: 1000 //px/s
--
2.27.0
More information about the vlc-devel
mailing list