diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-03-23 12:18:22 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-03-31 05:27:08 +0000 |
commit | ade72484f36a5c92c381398569a7864ed4bf6ba7 (patch) | |
tree | 272a7ccedd32b570fadd372f9379f5850c6ff2a1 /examples/bluetooth/lowenergyscanner/assets/Label.qml | |
parent | ec8974790e4129d802b187e7322c4c871a8ddbf2 (diff) |
Don't mix pixel and point size
The view is rather obscured because of this.
Every other font size in this example uses point size except for these
two elements. This mix of point and pizel size is not permitted. There
seems to be a warning and probably related change in Qt 5.5 as well.
Change-Id: I36a7e9f1648d23f5bc737393ae735bbc7d04b494
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/assets/Label.qml')
-rw-r--r-- | examples/bluetooth/lowenergyscanner/assets/Label.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/lowenergyscanner/assets/Label.qml b/examples/bluetooth/lowenergyscanner/assets/Label.qml index 5443ee6b..aafda900 100644 --- a/examples/bluetooth/lowenergyscanner/assets/Label.qml +++ b/examples/bluetooth/lowenergyscanner/assets/Label.qml @@ -42,7 +42,7 @@ import QtQuick 2.0 Text { property string textContent: "" - font.pixelSize: 30 + font.pointSize: 20 anchors.horizontalCenter: parent.horizontalCenter color: "#363636" horizontalAlignment: Text.AlignHCenter |