From 71d1dfd899552c12d253282f97fd62adac182c00 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Fri, 6 Apr 2018 15:49:01 +0200 Subject: imagine/ScrollView.qml: cleanup unnecessary content size bindings Missed in 92e75ae5. (Creator still has problems after a8766caf?) Change-Id: I41cee8bb26f09be7bbba233053302b15e4a60b79 Reviewed-by: Mitch Curtis --- src/imports/controls/imagine/ScrollView.qml | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/imports/controls') diff --git a/src/imports/controls/imagine/ScrollView.qml b/src/imports/controls/imagine/ScrollView.qml index f7b30b6b..0bf0e6d8 100644 --- a/src/imports/controls/imagine/ScrollView.qml +++ b/src/imports/controls/imagine/ScrollView.qml @@ -46,9 +46,6 @@ T.ScrollView { implicitWidth: Math.max(background ? background.implicitWidth : 0, contentWidth + leftPadding + rightPadding) implicitHeight: Math.max(background ? background.implicitHeight : 0, contentHeight + topPadding + bottomPadding) - contentWidth: contentItem.implicitWidth || (contentChildren.length === 1 ? contentChildren[0].implicitWidth : -1) - contentHeight: contentItem.implicitHeight || (contentChildren.length === 1 ? contentChildren[0].implicitHeight : -1) - topPadding: background ? background.topPadding : 0 leftPadding: background ? background.leftPadding : 0 rightPadding: background ? background.rightPadding : 0 -- cgit v1.2.3