[vlc-commits] [Git][videolan/vlc][master] 4 commits: qml: inset the control by default in `SideNavigationDelegate`
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Tue Jul 28 09:36:50 UTC 2026
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
f144ac5b by Fatih Uzunoglu at 2026-07-28T11:22:15+02:00
qml: inset the control by default in `SideNavigationDelegate`
- - - - -
8db47793 by Fatih Uzunoglu at 2026-07-28T11:22:15+02:00
qml: round the background by default in `SideNavigationDelegate`
- - - - -
330856f2 by Fatih Uzunoglu at 2026-07-28T11:22:15+02:00
qml: round the current indicator by default in `SideNavigationDelegate`
- - - - -
59361740 by Fatih Uzunoglu at 2026-07-28T11:22:15+02:00
qml: slightly decrease the current indicator height in `SideNavigationDelegate`
- - - - -
1 changed file:
- modules/gui/qt/maininterface/qml/SideNavigationDelegate.qml
Changes:
=====================================
modules/gui/qt/maininterface/qml/SideNavigationDelegate.qml
=====================================
@@ -35,6 +35,8 @@ T.ItemDelegate {
property bool showText: true
+ property real radius: VLCStyle.button_radius
+
// Settings
implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
@@ -44,6 +46,12 @@ T.ItemDelegate {
padding: VLCStyle.margin_xxsmall
+ leftInset: VLCStyle.margin_xxsmall
+ rightInset: VLCStyle.margin_xxsmall
+
+ topInset: VLCStyle.margin_xxxsmall
+ bottomInset: VLCStyle.margin_xxxsmall
+
// Accessible
Accessible.onPressAction: control.clicked()
@@ -73,14 +81,18 @@ T.ItemDelegate {
color: theme.bg.primary
border.color: visualFocus ? theme.visualFocus : "transparent"
+ radius: control.radius
+
Widgets.CurrentIndicator {
anchors {
left: parent.left
leftMargin: VLCStyle.margin_xxxsmall
verticalCenter: parent.verticalCenter
}
- implicitHeight: parent.height * 3 / 4
+ implicitHeight: parent.height / 2
visible: control.checked
+
+ radius: control.radius / 2
}
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/568f13dbe0deac0c6004b8a6118710f10ed2800d...59361740a96d3d16346417569f60301683c0f36f
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/568f13dbe0deac0c6004b8a6118710f10ed2800d...59361740a96d3d16346417569f60301683c0f36f
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