aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-04-21 13:55:11 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-04-21 11:56:01 +0000
commit7152dfe6e10da6e1d8ad6f29389f19c2ac812353 (patch)
tree76220e72368d9a8ae79057ba675c224a0a36fb4b /examples
parent799c991c221fc12b9581958662d420a0415006f2 (diff)
Theme example: workaround for missing back icon on Android
Change-Id: I3f2227241bbb37320b83aecb8cd8c4d2e16388d9 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/controls/theme/main.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/quick/controls/theme/main.qml b/examples/quick/controls/theme/main.qml
index 58f5b5f9..78285497 100644
--- a/examples/quick/controls/theme/main.qml
+++ b/examples/quick/controls/theme/main.qml
@@ -51,7 +51,10 @@ ApplicationWindow {
header: ToolBar {
ToolButton {
label: Text {
- text: "\u25C0"
+ // \u25C0 (black left-pointing triangle is) missing in some fonts
+ // => use a rotated \u25B2 (black up-pointing triangle) instead
+ text: "\u25B2"
+ rotation: -90
color: enabled ? Theme.accentColor : Theme.frameColor
anchors.centerIn: parent
}