Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
Windows 10
-
e95dc3b4853c1736aef0ef2cc5248ec0aa46e3ff
Description
import QtQuick 2.7 import QtQuick.Window 2.2 import QtQuick.Layouts 1.1 import QtQuick.Controls 2.0 Window { visible: true width: 300 height: 200 title: qsTr("Hello World") ColumnLayout { anchors.centerIn: parent RowLayout { Layout.fillWidth: true Label { text: qsTr("Tile Width") Layout.fillWidth: true } SpinBox { from: 1 value: 32 editable: true hoverEnabled: true ToolTip.text: qsTr("How wide each tile is in pixels") ToolTip.visible: hovered } } RowLayout { Label { text: qsTr("Tile Height") Layout.fillWidth: true } SpinBox { from: 1 value: 32 editable: true hoverEnabled: true Layout.alignment: Qt.AlignRight ToolTip.text: qsTr("How high each tile is in pixels") ToolTip.visible: hovered } } RowLayout { Label { text: qsTr("Blah Blah") Layout.fillWidth: true } SpinBox { from: 1 value: 32 editable: true hoverEnabled: true Layout.alignment: Qt.AlignRight ToolTip.text: qsTr("How blah each blah is in blahs") ToolTip.visible: hovered } } } }
Works OK with the Default and Universal styles.
Attachments
For Gerrit Dashboard: QTBUG-54206 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
167323,3 | Cancel exit transition when the same tooltip is shown again | 5.7 | qt/qtquickcontrols2 | Status: MERGED | -2 | 0 |