vlc | branch: master | Prince Gupta <[email protected]> | Mon Oct 19 21:02:02 2020 +0530| [a24066727bc61db5d8e13284c1151b6f3d11ef8e] | committer: Pierre Lamot
qml: use Widget labels and change spacing for artist and album text in Max player Signed-off-by: Pierre Lamot <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a24066727bc61db5d8e13284c1151b6f3d11ef8e --- modules/gui/qt/player/qml/Player.qml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/modules/gui/qt/player/qml/Player.qml b/modules/gui/qt/player/qml/Player.qml index 2aabb25864..943a77483a 100644 --- a/modules/gui/qt/player/qml/Player.qml +++ b/modules/gui/qt/player/qml/Player.qml @@ -269,7 +269,7 @@ Widgets.NavigableFocusScope { ColumnLayout { anchors.fill: parent - spacing: VLCStyle.margin_small + spacing: 0 visible: !rootPlayer.hasEmbededVideo @@ -321,31 +321,30 @@ Widgets.NavigableFocusScope { } } - Label { + Widgets.SubtitleLabel { id: albumLabel Layout.fillWidth: true Layout.preferredHeight: implicitHeight - Layout.alignment: Qt.AlignHCenter + Layout.topMargin: VLCStyle.margin_normal text: mainPlaylistController.currentItem.album - font.pixelSize: VLCStyle.fontSize_xxlarge - font.bold: true + font.weight: Font.Light horizontalAlignment: Text.AlignHCenter color: VLCStyle.colors.playerFg Accessible.description: i18n.qtr("album") } - Label { + Widgets.MenuLabel { id: artistLabel Layout.fillWidth: true Layout.preferredHeight: implicitHeight - Layout.alignment: Qt.AlignHCenter + Layout.topMargin: VLCStyle.margin_xxsmall text: mainPlaylistController.currentItem.artist + font.weight: Font.Light horizontalAlignment: Text.AlignHCenter - font.pixelSize: VLCStyle.fontSize_xlarge color: VLCStyle.colors.playerFg Accessible.description: i18n.qtr("artist") } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
