[vlc-commits] [Git][videolan/vlc][master] qml/KeyNavigableListView: Fix buttonMargin property
    Hugo Beauzée-Luyssen (@chouquette) 
    gitlab at videolan.org
       
    Mon Dec  6 12:57:51 UTC 2021
    
    
  
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
0d4bbac0 by Benjamin Arnaud at 2021-12-06T11:43:44+00:00
qml/KeyNavigableListView: Fix buttonMargin property
- - - - -
1 changed file:
- modules/gui/qt/widgets/qml/KeyNavigableListView.qml
Changes:
=====================================
modules/gui/qt/widgets/qml/KeyNavigableListView.qml
=====================================
@@ -36,7 +36,7 @@ FocusScope {
     property var fadeColor: undefined
 
     // NOTE: We want buttons to be centered verticaly but configurable.
-    property int buttonMargin: height / 2 - button.height / 2
+    property int buttonMargin: height / 2 - buttonLeft.height / 2
 
     property int scrollBarWidth: scroll_id.visible ? scroll_id.width : 0
 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0d4bbac02ffcf1da972047b17f55d6674daaf6e7
-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0d4bbac02ffcf1da972047b17f55d6674daaf6e7
You're receiving this email because of your account on code.videolan.org.
    
    
More information about the vlc-commits
mailing list