Commit 6a75a284 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

Add support for the showTitle property to all faces

parent 5407cd31
......@@ -51,7 +51,7 @@ Faces.SensorFace {
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
text: root.controller.title
visible: text.length > 0
visible: root.controller.showTitle && text.length > 0
level: 2
TextMetrics {
id: titleMetrics
......
......@@ -46,7 +46,7 @@ Faces.SensorFace {
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
text: root.controller.title
visible: text.length > 0
visible: root.controller.showTitle && text.length > 0
level: 2
TextMetrics {
id: titleMetrics
......
......@@ -48,7 +48,7 @@ Faces.SensorFace {
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
text: root.controller.title
visible: text.length > 0
visible: root.controller.showTitle && text.length > 0
level: 2
TextMetrics {
id: titleMetrics
......
......@@ -46,7 +46,7 @@ Faces.SensorFace {
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
text: root.controller.title
visible: text.length > 0
visible: root.controller.showTitle && text.length > 0
level: 2
TextMetrics {
id: titleMetrics
......
......@@ -45,7 +45,7 @@ Faces.SensorFace {
horizontalAlignment: Text.AlignHCenter
elide: Text.ElideRight
text: root.controller.title
visible: text.length > 0
visible: root.controller.showTitle && text.length > 0
level: 2
TextMetrics {
id: titleMetrics
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment