You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qqc2-desktop-style/0003-Control-must-not-have-...

29 lines
818 B

From 8790d850c4343b9f615457f0926cc3cdcef8d0c7 Mon Sep 17 00:00:00 2001
From: Marco Martin <notmart@gmail.com>
Date: Mon, 14 May 2018 20:08:40 +0200
Subject: [PATCH 3/6] Control must not have children
this invisible child interfers badly with Kirigami FormLayout
BUG:394134
---
org.kde.desktop/Control.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org.kde.desktop/Control.qml b/org.kde.desktop/Control.qml
index 40d8425..ce49342 100644
--- a/org.kde.desktop/Control.qml
+++ b/org.kde.desktop/Control.qml
@@ -37,7 +37,7 @@ T.Control {
rightPadding: styleItem.pixelMetric("layoutrightmargin")
bottomPadding: styleItem.pixelMetric("layoutbottommargin")
- StylePrivate.StyleItem {
+ property Item __style: StylePrivate.StyleItem {
id: styleItem
}
}
--
2.14.3