属性
import QtQuick
import QtQuick.Controls
Label {
//控件背景与控件边界之间的填充
topInset: real
bottomInset: real
leftInset: real
rightInset: real
}
只读属性
import QtQuick
import QtQuick.Controls
Label {
implicitBackgroundWidth(Height): real
//隐式背景宽/高度
}
自定义
import QtQuick
import QtQuick.Controls
Label {
background : Item {
//背景
}
}