[vlc-commits] qml: simplify the section header of KeyNavigableListView
Adrien Maglo
git at videolan.org
Thu Jun 13 13:10:48 CEST 2019
vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri May 10 14:46:29 2019 +0200| [c22cab0ce701e7f08f112f0c69cbfc3a197cca43] | committer: Thomas Guillem
qml: simplify the section header of KeyNavigableListView
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c22cab0ce701e7f08f112f0c69cbfc3a197cca43
---
modules/gui/qt/qml/utils/KeyNavigableListView.qml | 26 ++++++++++-------------
1 file changed, 11 insertions(+), 15 deletions(-)
diff --git a/modules/gui/qt/qml/utils/KeyNavigableListView.qml b/modules/gui/qt/qml/utils/KeyNavigableListView.qml
index 4490282d91..ad7e864779 100644
--- a/modules/gui/qt/qml/utils/KeyNavigableListView.qml
+++ b/modules/gui/qt/qml/utils/KeyNavigableListView.qml
@@ -59,24 +59,20 @@ NavigableFocusScope {
Component {
id: sectionHeading
- Rectangle {
- width: parent.width
- height: childrenRect.height
- Column {
- width: parent.width
+ Column {
+ width: parent.width
- Text {
- text: section
- font.pixelSize: 20
- color: VLCStyle.colors.accent
- }
+ Text {
+ text: section
+ font.pixelSize: VLCStyle.fontSize_xlarge
+ color: VLCStyle.colors.accent
+ }
- Rectangle {
- width: parent.width
- height: 1
- color: VLCStyle.colors.textInactive
- }
+ Rectangle {
+ width: parent.width
+ height: 1
+ color: VLCStyle.colors.textInactive
}
}
}
More information about the vlc-commits
mailing list