[vlc-commits] [Git][videolan/vlc][master] qml/SpacerWidget: Update the 'implicitWidth' setting

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon May 15 11:22:12 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
fdbd4797 by Benjamin Arnaud at 2023-05-15T10:03:39+00:00
qml/SpacerWidget: Update the 'implicitWidth' setting

- - - - -


1 changed file:

- modules/gui/qt/player/qml/controlbarcontrols/SpacerWidget.qml


Changes:

=====================================
modules/gui/qt/player/qml/controlbarcontrols/SpacerWidget.qml
=====================================
@@ -27,8 +27,13 @@ import "qrc:///style/"
 Item {
     id: spacer
     enabled: false
-    implicitWidth: VLCStyle.icon_toolbar
+
+    // NOTE: We already have spacing between components in the ControlLayout so this should be set
+    //       to zero, except in the customize panel.
+    implicitWidth: (paintOnly) ? VLCStyle.icon_toolbar : 0
+
     implicitHeight: VLCStyle.icon_toolbar
+
     property alias spacetextExt: spacetext
     property bool paintOnly: false
 



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fdbd4797fa511fb434ff1726d9274e3d8cb4f51f
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