Skip to content
Snippets Groups Projects
Commit 0cf4d52d authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Jean-Baptiste Kempf
Browse files

qml: fix wrong sizing in PlaylistMedia

parent 9c230251
No related branches found
No related tags found
1 merge request!3961qml: fix wrong sizing in PlaylistMedia
Pipeline #367906 passed with stages
in 23 minutes and 33 seconds
......@@ -37,6 +37,8 @@ MainInterface.MainTableView {
readonly property int columns: VLCStyle.gridColumnsForWidth(root.availableRowWidth)
property bool isMusic
//---------------------------------------------------------------------------------------------
// Private
......@@ -215,9 +217,12 @@ MainInterface.MainTableView {
Widgets.TableColumns {
id: table
titleCover_width : VLCStyle.listAlbumCover_width
titleCover_height: VLCStyle.listAlbumCover_height
titleCover_radius: VLCStyle.listAlbumCover_radius
titleCover_width: isMusic ? VLCStyle.trackListAlbumCover_width
: VLCStyle.listAlbumCover_width
titleCover_height: isMusic ? VLCStyle.trackListAlbumCover_heigth
: VLCStyle.listAlbumCover_height
titleCover_radius: isMusic ? VLCStyle.trackListAlbumCover_radius
: VLCStyle.listAlbumCover_radius
showTitleText: (root.sortModel === root._modelSmall)
showCriterias: showTitleText
......
......@@ -158,6 +158,8 @@ FocusScope {
dragItem: root.dragItem
isMusic: root.isMusic
header: Widgets.SubtitleLabel {
id: label
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment