[vlc-commits] [Git][videolan/vlc][master] 3 commits: qml: use implicit content size for defining control implicit size in `ViewHeader`

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Feb 20 12:51:49 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b7250255 by Fatih Uzunoglu at 2025-02-20T12:13:17+00:00
qml: use implicit content size for defining control implicit size in `ViewHeader`

- - - - -
a81bb961 by Fatih Uzunoglu at 2025-02-20T12:13:17+00:00
qml: use implicit content size for defining control implicit size in `PlaylistListView`

- - - - -
2e45a5da by Fatih Uzunoglu at 2025-02-20T12:13:17+00:00
qml: use implicit content size for defining control implicit size in `ControlBar`

- - - - -


3 changed files:

- modules/gui/qt/player/qml/ControlBar.qml
- modules/gui/qt/playlist/qml/PlaylistListView.qml
- modules/gui/qt/widgets/qml/ViewHeader.qml


Changes:

=====================================
modules/gui/qt/player/qml/ControlBar.qml
=====================================
@@ -38,9 +38,9 @@ T.Pane {
     }
 
     implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
-                            contentWidth + leftPadding + rightPadding)
+                            implicitContentWidth + leftPadding + rightPadding)
     implicitHeight: Math.max(implicitBackgroundHeight + bottomInset,
-                             contentHeight + topPadding + bottomPadding)
+                             implicitContentHeight + topPadding + bottomPadding)
 
     topInset: sliderY
 


=====================================
modules/gui/qt/playlist/qml/PlaylistListView.qml
=====================================
@@ -53,9 +53,9 @@ T.Pane {
     property alias acceptDropFunc: listView.acceptDropFunc
 
     implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
-                            contentWidth + leftPadding + rightPadding)
+                            implicitContentWidth + leftPadding + rightPadding)
     implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
-                             contentHeight + topPadding + bottomPadding)
+                             implicitContentHeight + topPadding + bottomPadding)
 
     verticalPadding: VLCStyle.margin_normal
 


=====================================
modules/gui/qt/widgets/qml/ViewHeader.qml
=====================================
@@ -53,9 +53,9 @@ T.Pane {
 
     width: view.width
     implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
-                                contentWidth + leftPadding + rightPadding)
+                            implicitContentWidth + leftPadding + rightPadding)
     implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
-                             contentHeight + topPadding + bottomPadding)
+                             implicitContentHeight + topPadding + bottomPadding)
 
 
     Navigation.navigable: button.visible



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/62fd4841321890f2451bffc266540c7ed027ea42...2e45a5da28cbd60326a4f7d22e0355b8e6210506

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/62fd4841321890f2451bffc266540c7ed027ea42...2e45a5da28cbd60326a4f7d22e0355b8e6210506
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