I try to center text with non-default letterSpacing:
import QtQuick 2.2
import QtQuick.Window 2.1
Window {
visible: true
width: 360
height: 360
Text {
text: qsTr("Hello World")
anchors.centerIn: parent
font.pointSize: 14
font.letterSpacing: 20
}
}
but have no luck.
Is there a proper way to do it?
↧