[vlc-commits] [Git][videolan/vlc][master] qml: fix initial local menu position of BannerSource

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Sat Mar 26 09:54:37 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
9089021d by Prince Gupta at 2022-03-26T09:28:52+00:00
qml: fix initial local menu position of BannerSource

intially position localMenuView for `_alignHCenter == false`,
`on_AlignHCenterChanged` signal handler is not called on Component
completion if initially `_alignHCenter == false`

- - - - -


1 changed file:

- modules/gui/qt/maininterface/qml/BannerSources.qml


Changes:

=====================================
modules/gui/qt/maininterface/qml/BannerSources.qml
=====================================
@@ -346,6 +346,8 @@ FocusScope {
                         clip: contentWidth > width
                         contentWidth: localMenuGroup.width
                         contentHeight: VLCStyle.localToolbar_height // don't allow vertical flickering
+
+                        anchors.right: playlistGroup.left
                         anchors.rightMargin: VLCStyle.margin_xxsmall // only applied when right aligned
 
                         on_AlignHCenterChanged: {



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9089021db17a3e739b59a7666b057b9442793982

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9089021db17a3e739b59a7666b057b9442793982
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list