[vlc-devel] [PATCH 07/28] qml: use customized label widgets for playlist item text
Fatih Uzunoglu
fuzun54 at outlook.com
Tue Jul 21 19:28:37 CEST 2020
---
modules/gui/qt/playlist/qml/PLItem.qml | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/modules/gui/qt/playlist/qml/PLItem.qml b/modules/gui/qt/playlist/qml/PLItem.qml
index 35da202eb4..5ed3995347 100644
--- a/modules/gui/qt/playlist/qml/PLItem.qml
+++ b/modules/gui/qt/playlist/qml/PLItem.qml
@@ -165,14 +165,10 @@ Rectangle {
id: textInfo
font.weight: model.isCurrent ? Font.Bold : Font.Normal
- font.pixelSize: VLCStyle.fontSize_normal
- elide: Text.ElideRight
-
text: model.title
- color: VLCStyle.colors.text
}
- Widgets.CaptionLabel {
+ Widgets.ListSubtitleLabel {
id: textArtist
font.weight: model.isCurrent ? Font.DemiBold : Font.Normal
@@ -180,14 +176,11 @@ Rectangle {
}
}
- Text {
+ Widgets.ListLabel {
id: textDuration
-
Layout.rightMargin: VLCStyle.margin_xsmall
- font.pixelSize: VLCStyle.fontSize_normal
text: model.duration
- color: VLCStyle.colors.text
}
}
--
2.25.1
More information about the vlc-devel
mailing list