chore(StatusScrollView): remove unused background property
BREAKING CHANGE: removes the background property of the StatusScrollView
This commit is contained in:
parent
64ec74117d
commit
08c53e2f52
@ -37,17 +37,9 @@ Flickable {
|
|||||||
property int leftPadding: padding
|
property int leftPadding: padding
|
||||||
property int rightPadding: padding
|
property int rightPadding: padding
|
||||||
|
|
||||||
property Item background: null
|
|
||||||
|
|
||||||
readonly property int availableWidth: width - leftPadding - rightPadding
|
readonly property int availableWidth: width - leftPadding - rightPadding
|
||||||
readonly property int availableHeight: height - topPadding - bottomPadding
|
readonly property int availableHeight: height - topPadding - bottomPadding
|
||||||
|
|
||||||
onBackgroundChanged: {
|
|
||||||
if (background) {
|
|
||||||
background.anchors.fill = root;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// NOTE: in Qt6 clip true will be default
|
// NOTE: in Qt6 clip true will be default
|
||||||
clip: true
|
clip: true
|
||||||
topMargin: topPadding
|
topMargin: topPadding
|
||||||
|
Loading…
x
Reference in New Issue
Block a user