From a0196afc135d63f69aab5626424cc2e21ccac611 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Thu, 26 Jun 2014 15:03:14 +0300 Subject: Fix polar axis title positioning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTRD-3184 Change-Id: I366f41b928e06931784c6ff74e9b6b8a52414e3f Reviewed-by: Tomi Korpipää --- .../qmlspectrogram/qml/qmlspectrogram/main.qml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'examples/datavisualization') diff --git a/examples/datavisualization/qmlspectrogram/qml/qmlspectrogram/main.qml b/examples/datavisualization/qmlspectrogram/qml/qmlspectrogram/main.qml index 97e47b96..66fa807f 100644 --- a/examples/datavisualization/qmlspectrogram/qml/qmlspectrogram/main.qml +++ b/examples/datavisualization/qmlspectrogram/qml/qmlspectrogram/main.qml @@ -80,6 +80,17 @@ Window { titleFixed: false } + Theme3D { + id: customTheme + type: Theme3D.ThemeQt + // Don't show specular spotlight as we don't want it to distort the colors + lightStrength: 0.0 + ambientLightStrength: 0.9 + backgroundEnabled: false + font.family: "Lucida Handwriting" + font.pointSize: 25 + } + Surface3D { id: surfaceGraph width: surfaceView.width @@ -92,10 +103,7 @@ Window { axisY: yAxis axisZ: zAxis - // Don't show specular spotlight as we don't want it to distort the colors - theme.lightStrength: 0.0 - theme.ambientLightStrength: 0.9 - theme.backgroundEnabled: false + theme: customTheme orthoProjection: true flipHorizontalGrid: true -- cgit v1.2.3