[vlc-commits] [Git][videolan/vlc][master] qml: correct the anchoring logic in Player.qml
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Nov 13 19:38:48 UTC 2024
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
90558b4a by Fatih Uzunoglu at 2024-11-13T18:58:09+00:00
qml: correct the anchoring logic in Player.qml
The video or the background should use all of the
available area unless the control bar is pinned
AND there is embedded video.
- - - - -
1 changed file:
- modules/gui/qt/player/qml/Player.qml
Changes:
=====================================
modules/gui/qt/player/qml/Player.qml
=====================================
@@ -169,8 +169,8 @@ FocusScope {
anchors {
left: parent.left
right: parent.right
- top: (MainCtx.hasEmbededVideo && !rootPlayer._controlsUnderVideo) ? parent.top : topBar.bottom
- bottom: (MainCtx.hasEmbededVideo && !rootPlayer._controlsUnderVideo) ? parent.bottom : controlBar.top
+ top: (MainCtx.hasEmbededVideo && rootPlayer._controlsUnderVideo) ? topBar.bottom : parent.top
+ bottom: (MainCtx.hasEmbededVideo && rootPlayer._controlsUnderVideo) ? controlBar.top : parent.bottom
}
sourceComponent: MainCtx.hasEmbededVideo ? videoComponent : audioComponent
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/90558b4abc3295a13a7319d2a15a5651b582d364
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/90558b4abc3295a13a7319d2a15a5651b582d364
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