[vlc-devel] [PATCH 08/29] qml: fix ToolbarEditor TabBar background

Fatih Uzunoglu fuzun54 at outlook.com
Thu Apr 1 22:22:20 UTC 2021


override background component with
transparent Item { } so that the
background color from the parent
rectangle fills in the gaps.
---
 modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml b/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml
index 607b36b0c2..05bc1167b7 100644
--- a/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml
+++ b/modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml
@@ -52,7 +52,7 @@ Rectangle{
 
             z: 1
 
-            spacing: VLCStyle.dp(1) // this causes binding loop warning in Qt 5.11.3 probably due to a bug
+            background: Item { }
 
             EditorTabButton {
                 id: mainPlayerTab
-- 
2.27.0



More information about the vlc-devel mailing list