From a831391337e9b80a23f2bb10a2a6a72ab6a91da5 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Mon, 25 Jul 2016 18:40:07 +0200 Subject: [PATCH] QmlDesigner: Fix transparent color issue for font size We use z instead of visible, because visible triggered issues in the layout engine. I use both for now. It seems to work with recent Qt versions. Change-Id: I74fc1eac6d8443a85683c208ccf99b5d3f0eee09 Reviewed-by: Alessandro Portale --- .../propertyEditorQmlSources/HelperWidgets/FontSection.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/FontSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/FontSection.qml index 56c5977080a..e74c5c329a5 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/FontSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/FontSection.qml @@ -95,7 +95,7 @@ Section { SpinBox { id: sizeSpinBox minimumValue: 0 - //visible: !sizeWidget.pixelSize + visible: !sizeWidget.pixelSize z: !sizeWidget.pixelSize ? 1 : 0 maximumValue: 400 backendValue: pointSize @@ -103,7 +103,7 @@ Section { SpinBox { minimumValue: 0 - //visible: sizeWidget.pixelSize + visible: sizeWidget.pixelSize z: sizeWidget.pixelSize ? 1 : 0 maximumValue: 400 backendValue: pixelSize