[vlc-commits] [Git][videolan/vlc][master] 2 commits: qml: adjust the left and right insets in ml scan progress bar in side pane

François Cartegnie (@fcartegnie) gitlab at videolan.org
Wed Sep 23 09:06:12 UTC 2026



François Cartegnie pushed to branch master at VideoLAN / VLC


Commits:
6242ebbb by Fatih Uzunoglu at 2026-09-23T10:57:10+02:00
qml: adjust the left and right insets in ml scan progress bar in side pane

The buttons have left and right insets, but it is missing here.

- - - - -
ce8bfc7d by Fatih Uzunoglu at 2026-09-23T10:57:10+02:00
qml: use background in ml scan progress bar in side pane

Making the background invisible is a remnant from the time
when layered and blurred main view used to provide the
background (like the mini player).

In this case, it can have a background to provide proper
demarcation of the control in the side navigation pane.

- - - - -


1 changed file:

- modules/gui/qt/maininterface/qml/SideNavigationPane.qml


Changes:

=====================================
modules/gui/qt/maininterface/qml/SideNavigationPane.qml
=====================================
@@ -246,9 +246,16 @@ T.Pane {
                 source: "qrc:///qt/qml/VLC/MediaLibrary/ScanProgressBar.qml"
 
                 onLoaded: {
-                    item.background.visible = false
+                    if (item.background) {
+                        item.background.opacity = 0.6
+                        item.background.radius = Qt.binding(() => VLCStyle.dp(4, VLCStyle.scale))
+                    }
+
                     item.leftPadding = Qt.binding(function() { return root.safeAreaLeftMargin + VLCStyle.margin_small })
                     item.rightPadding = Qt.binding(function() { return root.safeAreaRightMargin + VLCStyle.margin_small })
+
+                    item.leftInset = Qt.binding(() => { return VLCStyle.margin_xxsmall + root.safeAreaLeftMargin })
+                    item.rightInset = Qt.binding(() => { return VLCStyle.margin_xxsmall + root.safeAreaRightMargin })
                 }
             }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2b88cec3720c5817e570718b937a40f4a536f69f...ce8bfc7d90b6882aa4b9dab202905a082114d64c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/2b88cec3720c5817e570718b937a40f4a536f69f...ce8bfc7d90b6882aa4b9dab202905a082114d64c
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list