vlc | branch: master | Prince Gupta <guptaprince8...@gmail.com> | Fri Aug 21 
15:31:25 2020 +0530| [0c0f914165e1831e56a7f518b1d49f7002c23c6f] | committer: 
Pierre Lamot

qml: use ListLabel component for section labels of KeyNavigableTableView

Signed-off-by: Pierre Lamot <pie...@videolabs.io>

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

 modules/gui/qt/widgets/qml/KeyNavigableTableView.qml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml 
b/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
index 2b8c16efcf..ffa0dac6d2 100644
--- a/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
+++ b/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
@@ -179,13 +179,12 @@ NavigableFocusScope {
             }
         }
 
-        section.delegate: Text {
+        section.delegate: Widgets.ListLabel {
             x: view.headerItem.contentX - VLCStyle.table_section_width
             topPadding: VLCStyle.margin_xsmall
             bottomPadding: VLCStyle.margin_xxsmall
             leftPadding: VLCStyle.table_section_text_margin
             text: section
-            font.pixelSize: VLCStyle.fontHeight_normal
             color: VLCStyle.colors.accent
         }
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to