[vlc-devel] [PATCH 01/33] QML: move, resize and rename MusicTrackListDisplay columns

Adrien Maglo magsoft at videolan.org
Wed Jun 12 14:01:08 CEST 2019


---
 .../gui/qt/qml/mediacenter/MusicTrackListDisplay.qml   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/gui/qt/qml/mediacenter/MusicTrackListDisplay.qml b/modules/gui/qt/qml/mediacenter/MusicTrackListDisplay.qml
index 8ba95324c5..42b04dda54 100644
--- a/modules/gui/qt/qml/mediacenter/MusicTrackListDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MusicTrackListDisplay.qml
@@ -29,12 +29,12 @@ Utils.KeyNavigableTableView {
     id: root
 
     sortModel: ListModel {
-        ListElement{ criteria: "track_number";width:0.15; text: qsTr("TRACK NB"); showSection: "" }
-        ListElement{ criteria: "disc_number"; width:0.15; text: qsTr("DISC NB");  showSection: "" }
-        ListElement{ criteria: "title";       width:0.15; text: qsTr("TITLE");    showSection: "title" }
+        ListElement{ criteria: "title";       width:0.44; text: qsTr("TITLE");    showSection: "title" }
+        ListElement{ criteria: "album_title"; width:0.25; text: qsTr("ALBUM");    showSection: "album_title" }
         ListElement{ criteria: "main_artist"; width:0.15; text: qsTr("ARTIST");   showSection: "main_artist" }
-        ListElement{ criteria: "album_title"; width:0.15; text: qsTr("ALBUM");    showSection: "album_title" }
-        ListElement{ criteria: "duration";    width:0.15; text: qsTr("DURATION"); showSection: "" }
+        ListElement{ criteria: "duration";    width:0.06; text: qsTr("DURATION"); showSection: "" }
+        ListElement{ criteria: "track_number";width:0.05; text: qsTr("TRACK"); showSection: "" }
+        ListElement{ criteria: "disc_number"; width:0.05; text: qsTr("DISC");  showSection: "" }
     }
 
     model: MLAlbumTrackModel {
-- 
2.20.1



More information about the vlc-devel mailing list