Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
fbe806c544a45c83f091109e04fab5d86620183f
Description
The following popup picks up the implicit size of the content, the Text element, instead of using the supplied explicit size.
import QtQuick 2.7 import QtQuick.Controls 2.0 ApplicationWindow { id: window width: 200 height: 228 visible: true Popup { x: (parent.width - width) / 2 y: (parent.height - height) / 2 width: parent.width / 2 height: parent.height / 2 visible: true closePolicy: Popup.NoAutoClose Text { text: "Popup" } } }