[vlc-commits] qml: fix ToolbarEditor TabBar background

Fatih Uzunoglu git at videolan.org
Tue Apr 6 09:54:48 UTC 2021


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Apr  2 01:22:20 2021 +0300| [5d146558b71e6c917c778a621ffb71cae2ac188d] | committer: Pierre Lamot

qml: fix ToolbarEditor TabBar background

override background component with
transparent Item { } so that the
background color from the parent
rectangle fills in the gaps.

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5d146558b71e6c917c778a621ffb71cae2ac188d
---

 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



More information about the vlc-commits mailing list