From 4cd8f0b3e24d38dea758fdf796e6c816b9e5a11c Mon Sep 17 00:00:00 2001 From: Thomas Hartmann <Thomas.Hartmann@digia.com> Date: Thu, 24 Oct 2013 14:12:54 +0200 Subject: [PATCH] QmlDesigner.PropertyEditor: adjust TabView style Styling the TabView in css is problematic and we want to keep the style in sync. So we use the old style here. Change-Id: I57ed39a03b4b4c59e9a996ca4e14d4d9fe9dfeb2 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com> --- .../HelperWidgets/TabView.qml | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/TabView.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/TabView.qml index 9a5bdbdb9cd..2f46721e2a8 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/TabView.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/TabView.qml @@ -40,26 +40,28 @@ Controls.TabView { frameOverlap: 0 frame: Item { } tab: Rectangle { - color: styleData.selected ? "#eee" : "#444" + color: styleData.selected ? "#eee" : "#414141" implicitWidth: root.width/root.count + 2 - implicitHeight: 21 + implicitHeight: 28 Text { id: text + font.bold: true anchors.centerIn: parent + anchors.verticalCenterOffset: -1 text: styleData.title renderType: Text.NativeRendering - color: styleData.selected ? "#000" : "#fff" + color: styleData.selected ? "#333" : "#fff" } + Rectangle { - anchors.fill: parent - opacity: 0.10 - gradient: Gradient { - GradientStop {color: '#fff' ; position: 0} - GradientStop {color: '#000' ; position: 1} - } + color: "#eee" + width: parent.width + height: 4 + anchors.bottom: parent.bottom } + Rectangle { - color: "#666" + color: "#333" width: parent.width height: 1 } -- GitLab