Qt QML中的垂直文本方向
如何在QML中以垂直方向显示文本,如下所示Qt QML中的垂直文本方向,qt,qml,Qt,Qml,如何在QML中以垂直方向显示文本,如下所示 我得到了答案,需要使用旋转属性并使用角度,在我的例子中是270 Text { id: name13 text: qsTr("John") rotation : 270 } Text { id: name13 text: qsTr("John") rotation : 270 }
我得到了答案,需要使用
旋转
属性并使用角度,在我的例子中是270
Text {
id: name13
text: qsTr("John")
rotation : 270
}
Text {
id: name13
text: qsTr("John")
rotation : 270
}