[vlc-commits] qml: use ListLabel component for section labels of KeyNavigableTableView
Prince Gupta
git at videolan.org
Thu Aug 27 12:44:23 CEST 2020
vlc | branch: master | Prince Gupta <guptaprince8832 at 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 <pierre at 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
}
More information about the vlc-commits
mailing list