vlc | branch: master | Adrien Maglo <[email protected]> | Wed Jun 26 11:21:39 2019 +0200| [24028e068f2c1f3be5feb18b27bde1d8a78f6a7c] | committer: Jean-Baptiste Kempf
QML: center vertically the text of top tab items in BannerSources Rework also icon margins Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=24028e068f2c1f3be5feb18b27bde1d8a78f6a7c --- modules/gui/qt/qml/BannerSources.qml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/modules/gui/qt/qml/BannerSources.qml b/modules/gui/qt/qml/BannerSources.qml index e6acb42c93..7e4eb8de11 100644 --- a/modules/gui/qt/qml/BannerSources.qml +++ b/modules/gui/qt/qml/BannerSources.qml @@ -168,15 +168,12 @@ Utils.NavigableFocusScope { Label { id: icon - anchors { - verticalCenter: parent.verticalCenter - } + anchors.verticalCenter: parent.verticalCenter color: VLCStyle.colors.buttonText font.pixelSize: VLCStyle.icon_topbar font.family: VLCIcons.fontFamily horizontalAlignment: Text.AlignHCenter - leftPadding: VLCStyle.margin_xsmall rightPadding: VLCStyle.margin_xsmall text: model.icon @@ -188,9 +185,7 @@ Utils.NavigableFocusScope { color: VLCStyle.colors.text padding: VLCStyle.margin_xxsmall - anchors { - bottom: parent.bottom - } + anchors.verticalCenter: parent.verticalCenter } } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
