我想禁用或使背景TextArea透明,但不幸的是它不起作用(一直保持白色)。
import QtQuick 2.0
import QtQuick.Controls 1.0
Rectangle {
width: 360
height: 360
color: "grey"
TextArea {
text: qsTr("Hello World")
anchors.centerIn: parent
backgroundVisible: false
}
}
backgroundVisible如果我设置为trueor ,它不会改变任何东西false!我做错了什么?有人对此有解决方案吗(也可能是c ++修复)?
提前致谢。