diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2014-06-26 15:03:14 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2014-06-27 08:12:27 +0300 |
commit | a0196afc135d63f69aab5626424cc2e21ccac611 (patch) | |
tree | e712cfbcd3405ae8554fb39adbf6a6cc34bc3ac6 /examples/datavisualization | |
parent | f642e1c6eb37e50d52e2abf9289c98d953d42868 (diff) |
Fix polar axis title positioning
Task-number: QTRD-3184
Change-Id: I366f41b928e06931784c6ff74e9b6b8a52414e3f
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'examples/datavisualization')
-rw-r--r-- | examples/datavisualization/qmlspectrogram/qml/qmlspectrogram/main.qml | 16 |
1 files changed, 12 insertions, 4 deletions
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 |