[vlc-devel] [PATCH 3/4] qml: use ListLabel component for section labels of KeyNavigableTableView
Prince Gupta
guptaprince8832 at gmail.com
Mon Aug 24 17:12:42 CEST 2020
---
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 7494b4a3fd..67fc0aa11c 100644
--- a/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
+++ b/modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
@@ -186,13 +186,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
}
--
2.25.1
More information about the vlc-devel
mailing list