[vlc-commits] qml: increase height for glow on all ListItems

Abel Tesfaye git at videolan.org
Wed Aug 21 15:08:46 CEST 2019


vlc | branch: master | Abel Tesfaye <Abeltesfaye45 at gmail.com> | Tue Aug  6 16:39:09 2019 +0300| [77b5255cc52bd33fa681d7ebe5d40b27095f3e8c] | committer: Jean-Baptiste Kempf

qml: increase height for glow on all ListItems

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=77b5255cc52bd33fa681d7ebe5d40b27095f3e8c
---

 modules/gui/qt/qml/mediacenter/MusicAlbumsDisplay.qml  | 2 +-
 modules/gui/qt/qml/mediacenter/MusicArtistsDisplay.qml | 2 +-
 modules/gui/qt/qml/mediacenter/MusicGenresDisplay.qml  | 2 +-
 modules/gui/qt/qml/mediacenter/NetworkDriveDisplay.qml | 2 +-
 modules/gui/qt/qml/mediacenter/NetworkFileDisplay.qml  | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/gui/qt/qml/mediacenter/MusicAlbumsDisplay.qml b/modules/gui/qt/qml/mediacenter/MusicAlbumsDisplay.qml
index ecb3ab8446..84d49a436c 100644
--- a/modules/gui/qt/qml/mediacenter/MusicAlbumsDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MusicAlbumsDisplay.qml
@@ -55,7 +55,7 @@ Utils.NavigableFocusScope {
             Utils.ListItem {
                 Package.name: "list"
                 width: root.width
-                height: VLCStyle.icon_normal
+                height: VLCStyle.icon_normal + VLCStyle.margin_small
 
                 color: VLCStyle.colors.getBgColor(element.DelegateModel.inSelected, this.hovered, this.activeFocus)
 
diff --git a/modules/gui/qt/qml/mediacenter/MusicArtistsDisplay.qml b/modules/gui/qt/qml/mediacenter/MusicArtistsDisplay.qml
index cf60de0337..b407dd300f 100644
--- a/modules/gui/qt/qml/mediacenter/MusicArtistsDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MusicArtistsDisplay.qml
@@ -45,7 +45,7 @@ Utils.NavigableFocusScope {
         }
 
         delegate: Utils.ListItem {
-            height: VLCStyle.icon_normal
+            height: VLCStyle.icon_normal + VLCStyle.margin_small
             width: artistList.width
 
             color: VLCStyle.colors.getBgColor(delegateModel.inSelected, this.hovered, this.activeFocus)
diff --git a/modules/gui/qt/qml/mediacenter/MusicGenresDisplay.qml b/modules/gui/qt/qml/mediacenter/MusicGenresDisplay.qml
index 124b93d5ae..8e00e839f6 100644
--- a/modules/gui/qt/qml/mediacenter/MusicGenresDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MusicGenresDisplay.qml
@@ -92,7 +92,7 @@ Utils.NavigableFocusScope {
             Utils.ListItem {
                 Package.name: "list"
                 width: root.width
-                height: VLCStyle.icon_normal
+                height: VLCStyle.icon_normal + VLCStyle.margin_small
 
                 color: VLCStyle.colors.getBgColor(element.DelegateModel.inSelected, this.hovered, this.activeFocus)
 
diff --git a/modules/gui/qt/qml/mediacenter/NetworkDriveDisplay.qml b/modules/gui/qt/qml/mediacenter/NetworkDriveDisplay.qml
index 8156bd5d10..0c64ebc6a4 100644
--- a/modules/gui/qt/qml/mediacenter/NetworkDriveDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/NetworkDriveDisplay.qml
@@ -29,7 +29,7 @@ Utils.ListItem {
     id: item
 
     width: root.width
-    height: VLCStyle.icon_normal
+    height: VLCStyle.icon_normal + VLCStyle.margin_small
 
     focus: true
 
diff --git a/modules/gui/qt/qml/mediacenter/NetworkFileDisplay.qml b/modules/gui/qt/qml/mediacenter/NetworkFileDisplay.qml
index 98c8ef9e15..3a0cd71902 100644
--- a/modules/gui/qt/qml/mediacenter/NetworkFileDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/NetworkFileDisplay.qml
@@ -26,7 +26,7 @@ import "qrc:///style/"
 
 Utils.ListItem {
     width: root.width
-    height: VLCStyle.icon_normal
+    height: VLCStyle.icon_normal + VLCStyle.margin_small
 
     focus: true
 



More information about the vlc-commits mailing list