qml: add horizontal ScrollBar to localMenuView

This commit is contained in:
Fatih Uzunoglu 2023-02-22 16:57:49 +02:00 committed by Jean-Baptiste Kempf
parent 1302c05fad
commit 11538a1e0f
1 changed files with 2 additions and 0 deletions

View File

@ -359,6 +359,8 @@ FocusScope {
anchors.right: playlistGroup.left
anchors.rightMargin: VLCStyle.margin_xxsmall // only applied when right aligned
ScrollBar.horizontal: ScrollBar { }
on_AlignHCenterChanged: {
if (_alignHCenter) {
anchors.horizontalCenter = localToolbarContent.horizontalCenter