diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am index 9918887b96..47fd18630a 100644 --- a/modules/gui/qt/Makefile.am +++ b/modules/gui/qt/Makefile.am @@ -1080,7 +1080,7 @@ libqt_plugin_la_QML = \ widgets/qml/RoundButton.qml \ widgets/qml/ScaledImage.qml \ widgets/qml/ScanProgressBar.qml \ - widgets/qml/ScrollingText.qml \ + widgets/qml/TextAutoScroller.qml \ widgets/qml/SearchBox.qml \ widgets/qml/SliderExt.qml \ widgets/qml/SortControl.qml \ diff --git a/modules/gui/qt/medialibrary/qml/MusicArtistDelegate.qml b/modules/gui/qt/medialibrary/qml/MusicArtistDelegate.qml index 139efb89f5..405955e87c 100644 --- a/modules/gui/qt/medialibrary/qml/MusicArtistDelegate.qml +++ b/modules/gui/qt/medialibrary/qml/MusicArtistDelegate.qml @@ -165,7 +165,7 @@ T.ItemDelegate { } } - Widgets.ScrollingText { + Widgets.TextAutoScroller { label: artistName forceScroll: root.isCurrent || root._isHover diff --git a/modules/gui/qt/network/qml/BrowseDeviceView.qml b/modules/gui/qt/network/qml/BrowseDeviceView.qml index c110c865af..b45d8c3777 100644 --- a/modules/gui/qt/network/qml/BrowseDeviceView.qml +++ b/modules/gui/qt/network/qml/BrowseDeviceView.qml @@ -328,7 +328,7 @@ FocusScope { Component { id: mrlColumn - Widgets.ScrollingText { + Widgets.TextAutoScroller { id: itemText property var rowModel: parent.rowModel diff --git a/modules/gui/qt/network/qml/NetworkThumbnailItem.qml b/modules/gui/qt/network/qml/NetworkThumbnailItem.qml index 14eb79f123..29058eebd3 100644 --- a/modules/gui/qt/network/qml/NetworkThumbnailItem.qml +++ b/modules/gui/qt/network/qml/NetworkThumbnailItem.qml @@ -149,7 +149,7 @@ Row { width: Math.max(0, parent.width - x) - Widgets.ScrollingText { + Widgets.TextAutoScroller { id: itemText anchors.left: parent.left diff --git a/modules/gui/qt/vlc.qrc b/modules/gui/qt/vlc.qrc index 24031bd409..e5aad628db 100644 --- a/modules/gui/qt/vlc.qrc +++ b/modules/gui/qt/vlc.qrc @@ -191,7 +191,7 @@ widgets/qml/NavigableCol.qml widgets/qml/NavigableRow.qml widgets/qml/ButtonExt.qml - widgets/qml/ScrollingText.qml + widgets/qml/TextAutoScroller.qml widgets/qml/CaptionLabel.qml widgets/qml/IconLabel.qml widgets/qml/ListLabel.qml diff --git a/modules/gui/qt/widgets/qml/GridItem.qml b/modules/gui/qt/widgets/qml/GridItem.qml index 5b87d3865f..79c3036630 100644 --- a/modules/gui/qt/widgets/qml/GridItem.qml +++ b/modules/gui/qt/widgets/qml/GridItem.qml @@ -295,7 +295,7 @@ T.ItemDelegate { } } - Widgets.ScrollingText { + Widgets.TextAutoScroller { id: titleTextRect label: titleLabel diff --git a/modules/gui/qt/widgets/qml/TableColumns.qml b/modules/gui/qt/widgets/qml/TableColumns.qml index f3c4b3afc5..ac7f02590d 100644 --- a/modules/gui/qt/widgets/qml/TableColumns.qml +++ b/modules/gui/qt/widgets/qml/TableColumns.qml @@ -152,7 +152,7 @@ Item { Layout.topMargin: VLCStyle.margin_xxsmall Layout.bottomMargin: VLCStyle.margin_xxsmall - Widgets.ScrollingText { + Widgets.TextAutoScroller { id: textRect anchors.left: parent.left diff --git a/modules/gui/qt/widgets/qml/TableViewDelegate.qml b/modules/gui/qt/widgets/qml/TableViewDelegate.qml index 8c5e2c1d14..2bae5633d9 100644 --- a/modules/gui/qt/widgets/qml/TableViewDelegate.qml +++ b/modules/gui/qt/widgets/qml/TableViewDelegate.qml @@ -56,7 +56,7 @@ T.Control { signal dropExited(var drag, bool before) signal dropEvent(var drag, var drop, bool before) - property Component defaultDelegate: Widgets.ScrollingText { + property Component defaultDelegate: Widgets.TextAutoScroller { id: defaultDelId property var rowModel: parent.rowModel property var colModel: parent.colModel diff --git a/modules/gui/qt/widgets/qml/ScrollingText.qml b/modules/gui/qt/widgets/qml/TextAutoScroller.qml similarity index 100% rename from modules/gui/qt/widgets/qml/ScrollingText.qml rename to modules/gui/qt/widgets/qml/TextAutoScroller.qml