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