[vlc-commits] [Git][videolan/vlc][master] 2 commits: qml: adjust overlay menu icon size

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Sun Oct 9 09:03:37 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
6d023670 by Fatih Uzunoglu at 2022-10-09T08:46:56+00:00
qml: adjust overlay menu icon size

- - - - -
5be81b92 by Fatih Uzunoglu at 2022-10-09T08:46:56+00:00
qml: overlay menu don't allow removing items in move mode

- - - - -


2 changed files:

- modules/gui/qt/playlist/qml/PlaylistOverlayMenu.qml
- modules/gui/qt/widgets/qml/OverlayMenu.qml


Changes:

=====================================
modules/gui/qt/playlist/qml/PlaylistOverlayMenu.qml
=====================================
@@ -131,6 +131,7 @@ Widgets.OverlayMenu {
         id: deleteAction
         text: I18n.qtr("Remove Selected")
         onTriggered: listView.onDelete()
+        enabled: (root.mode !== PlaylistListView.Mode.Move)
     }
 
     readonly property var rootMenu: ({


=====================================
modules/gui/qt/widgets/qml/OverlayMenu.qml
=====================================
@@ -242,8 +242,8 @@ FocusScope {
                     Loader {
                         id: icon
 
-                        Layout.preferredWidth: VLCStyle.icon_small
-                        Layout.preferredHeight: VLCStyle.icon_small
+                        Layout.preferredWidth: VLCStyle.icon_normal
+                        Layout.preferredHeight: VLCStyle.icon_normal
                         Layout.alignment: Qt.AlignHCenter
 
                         active: (!!modelData.icon.source || !!modelData.fontIcon || modelData.tickMark === true)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/ea889029dfb693b37785200f138cd18e2a21b33b...5be81b92b5cd56bfb50a7c49b64e30971037955d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/ea889029dfb693b37785200f138cd18e2a21b33b...5be81b92b5cd56bfb50a7c49b64e30971037955d
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list