mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-05 19:45:51 +00:00
MediaCard: always centered
This commit is contained in:
@@ -50,6 +50,12 @@ NBox {
|
|||||||
|
|
||||||
visible: MediaService.currentPlayer && MediaService.canPlay
|
visible: MediaService.currentPlayer && MediaService.canPlay
|
||||||
spacing: Style.marginM * scaling
|
spacing: Style.marginM * scaling
|
||||||
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
|
||||||
|
Item {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
Layout.fillHeight: true
|
||||||
|
}
|
||||||
|
|
||||||
// Player selector using NContextMenu
|
// Player selector using NContextMenu
|
||||||
Rectangle {
|
Rectangle {
|
||||||
@@ -341,5 +347,10 @@ NBox {
|
|||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Item {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
Layout.fillHeight: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user