Advertisement
LeonLostControl

Untitled

Jun 18th, 2024
1,058
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.73 KB | None | 0 0
  1. diff --git a/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml b/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
  2. index b514ffc713..4e1b59a062 100644
  3. --- a/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
  4. +++ b/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
  5. @@ -64,7 +64,7 @@ MainInterface.MainTableView {
  6.      }]
  7.  
  8.      property var _modelMedium: [{
  9. -        size: Math.max(1, _nbCols - 0.5),
  10. +        size: Math.max(1, 4*_nbCols/5),
  11.  
  12.          model: ({
  13.              criteria: mainCriteria,
  14. @@ -79,7 +79,7 @@ MainInterface.MainTableView {
  15.              placeHolder: VLCStyle.noArtVideoCover,
  16.          })
  17.      }, {
  18. -        size: 0.5,
  19. +        size: _nbCols/5,
  20.  
  21.          model: ({
  22.              criteria: "duration",
  23. diff --git a/modules/gui/qt/widgets/qml/TableColumns.qml b/modules/gui/qt/widgets/qml/TableColumns.qml
  24. index 2011ac6102..dd5e88f5af 100644
  25. --- a/modules/gui/qt/widgets/qml/TableColumns.qml
  26. +++ b/modules/gui/qt/widgets/qml/TableColumns.qml
  27. @@ -230,7 +230,9 @@ Item {
  28.              width: timeTextMetric.width
  29.              height: parent.height
  30.  
  31. -            anchors.centerIn: parent
  32. +            //anchors.centerIn: parent
  33. +            anchors.right: parent.right
  34. +            anchors.rightMargin: -VLCStyle.margin_xxxsmall
  35.  
  36.              horizontalAlignment: Text.AlignHCenter
  37.              verticalAlignment: Text.AlignVCenter
  38. @@ -248,7 +250,8 @@ Item {
  39.              width: timeTextMetric.width
  40.              height: parent.height
  41.  
  42. -            anchors.centerIn: parent
  43. +            //anchors.centerIn: parent
  44. +            anchors.right: parent.right
  45.  
  46.              horizontalAlignment: Text.AlignHCenter
  47.              text: timeDel.rowModel?.[timeDel.colModel.criteria]?.formatShort() ?? ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement