Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.2, 5.5.1, 5.6.0 Alpha
-
None
-
Mageia Linux Cauldron x86_64, gcc 5.2.1
-
10f0ae7c571b7e0de41d5fdc5627db6a1ddeb926
Description
In documentation I read, that dialogs tries to resize itself to the content. I found, that it only changes own height, but not width.
import QtQuick 2.4 import QtQuick.Controls 1.3 import QtQuick.Dialogs 1.2 ApplicationWindow { visible: true width: 400 height: 300 Dialog { id: testDialog Rectangle { implicitWidth: 800 implicitHeight: 400 color: "lightblue" border { color: "red" width: 1 } } } Button { anchors.centerIn: parent text: "Show dialog" onClicked: testDialog.open() } }
Attachments
For Gerrit Dashboard: QTBUG-49058 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
139755,1 | Dialogs. Fix wrong dialog height at first show and width | dev | qt/qtquickcontrols | Status: ABANDONED | -1 | 0 |
139888,4 | QtQuick Dialog: Fix incorrect height at first show | 5.5 | qt/qtquickcontrols | Status: ABANDONED | +1 | 0 |
139895,1 | Dialog ignores content implicitWidth. | 5.5 | qt/qtquickcontrols | Status: ABANDONED | 0 | 0 |
140630,8 | Dialog: allow proper resize and default size for content | 5.6 | qt/qtquickcontrols | Status: MERGED | +2 | 0 |
149210,6 | WIP Dialog: add minimumContent{Width,Height} properties | 5.6 | qt/qtquickcontrols | Status: ABANDONED | -2 | 0 |
149420,1 | Dialog: add minimumContent{Width,Height} properties | dev | qt/qtquickcontrols | Status: ABANDONED | 0 | 0 |
158634,4 | Dialogs: enforce changes in minimum size | 5.6 | qt/qtquickcontrols | Status: MERGED | +2 | 0 |