如何让 ActivityIndicator 居中于屏幕内?我当前的代码是:
Column {
Row {
ActivityIndicator {
anchors.leftMargin: units.gu(10)
running: true
}
}
}
答案1
anchors.centerIn: parent
解决方案是:
ActivityIndicator {
anchors.centerIn: parent
running: true
}