-
Bug
-
Resolution: Done
-
P2: Important
-
5.4.2, 5.5.1, 5.6.0 Alpha
-
None
-
Mageia Linux Cauldron x86_64, Plasma 5.
-
f622e60c3d68bfe6eb2f73201fc4f451ab6c2dc7
If dialog has less than 2 buttons in the right row, it doesn't calculate height for button box, resulting in a incorrect left buttons position.
Program to reproduce:
import QtQuick 2.4 import QtQuick.Controls 1.3 import QtQuick.Dialogs 1.2 ApplicationWindow { visible: true width: 400 height: 300 Dialog { id: testDialog standardButtons: StandardButton.Ok | StandardButton.Reset Rectangle { width: 200 height: 200 color: "lightblue" border { color: "red" width: 1 } } } Button { anchors.centerIn: parent text: "Show dialog" onClicked: testDialog.open() } }
For Gerrit Dashboard: QTBUG-49380 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
140626,6 | Dialog: calculate buttons width when there is < 2 right buttons | 5.5 | qt/qtquickcontrols | Status: MERGED | +2 | 0 |