vlc | branch: master | Prince Gupta <guptaprince8...@gmail.com> | Tue Dec 15 20:54:29 2020 +0530| [0861a633160e0a7bc712134bb560f56c97d2b99d] | committer: Pierre Lamot
qml: move close icon in video expand delegate Signed-off-by: Pierre Lamot <pie...@videolabs.io> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0861a633160e0a7bc712134bb560f56c97d2b99d --- .../qt/medialibrary/qml/VideoInfoExpandPanel.qml | 30 ++++++++++++---------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/modules/gui/qt/medialibrary/qml/VideoInfoExpandPanel.qml b/modules/gui/qt/medialibrary/qml/VideoInfoExpandPanel.qml index a0688ed5f5..5d4548d55d 100644 --- a/modules/gui/qt/medialibrary/qml/VideoInfoExpandPanel.qml +++ b/modules/gui/qt/medialibrary/qml/VideoInfoExpandPanel.qml @@ -149,9 +149,23 @@ Widgets.NavigableFocusScope { Layout.fillWidth: true Layout.alignment: Qt.AlignLeft | Qt.AlignTop - Widgets.SubtitleLabel { - text: model.title || i18n.qtr("Unknown title") + RowLayout { width: parent.width + + Widgets.SubtitleLabel { + text: model.title || i18n.qtr("Unknown title") + + Layout.fillWidth: true + } + + Widgets.IconLabel { + text: VLCIcons.close + + MouseArea { + anchors.fill: parent + onClicked: expandRect.retract() + } + } } Widgets.CaptionLabel { @@ -283,18 +297,6 @@ Widgets.NavigableFocusScope { } } } - - Widgets.IconLabel { - text: VLCIcons.close - color: VLCStyle.colors.caption - - Layout.alignment: Qt.AlignTop - - MouseArea { - anchors.fill: parent - onClicked: expandRect.retract() - } - } } } } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits