Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9.4
-
None
-
c40486acc352d49398186fa32d1ccabdd5fc83c6
Description
Internal IDs in the built-int styles prevent deferred execution. Therefore the execution of some delegates is not deferred. With the Default style, these custom delegates are currently not created at all (you get the defaults instead):
import QtQuick 2.9 import QtQuick.Controls 2.2 ApplicationWindow { id: window width: 640 height: 480 visible: true Column { anchors.centerIn: parent BusyIndicator { contentItem: Rectangle { implicitWidth: 20; implicitHeight: 20; color: "red" } } DelayButton { contentItem: Rectangle { implicitWidth: 20; implicitHeight: 20; color: "red" } } Dial { handle: Rectangle { implicitWidth: 20; implicitHeight: 20; color: "red" } } ScrollBar { size: 0.5 active: true width: parent.width orientation: Qt.Horizontal contentItem: Rectangle { implicitWidth: 20; implicitHeight: 20; color: "red" } } ScrollIndicator { size: 0.5 active: true width: parent.width orientation: Qt.Horizontal contentItem: Rectangle { implicitWidth: 20; implicitHeight: 20; color: "red" } } } }