[vlc-commits] [Git][videolan/vlc][master] qml: fix missing import in `PopupIconToolButton`

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Wed Oct 28 14:00:18 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
2bc86772 by Fatih Uzunoglu at 2026-10-28T14:36:37+01:00
qml: fix missing import in `PopupIconToolButton`

Amends fc710473.

- - - - -


1 changed file:

- modules/gui/qt/widgets/qml/PopupIconToolButton.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/PopupIconToolButton.qml
=====================================
@@ -19,7 +19,7 @@
  *****************************************************************************/
 
 import QtQuick
-
+import QtQuick.Templates as T
 
 import VLC.MainInterface
 import VLC.Style
@@ -62,9 +62,14 @@ Widgets.IconToolButton {
 
     // Children
 
-    Popup {
+    T.Popup {
         id: popup
 
+        implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
+                                implicitContentWidth + leftPadding + rightPadding)
+        implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
+                                 implicitContentHeight + topPadding + bottomPadding)
+
         x: (parent.width - width) / 2
         y: -height - VLCStyle.margin_xxxsmall
 



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2bc8677215ac000f684354a58e6961e96325064f
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list