Revert "Remove the panel tooltip icon"
This reverts commit 863ec93ade
.
This wasn't the right way to remove the icon for all panel widget
tooltips. See extended discussion in D27848.
This commit is contained in:
parent
0051a4f919
commit
7aaee715af
@ -57,6 +57,16 @@ PlasmaCore.ColorScope {
|
|||||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
|
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PlasmaCore.IconItem {
|
||||||
|
id: tooltipIcon
|
||||||
|
animated: false
|
||||||
|
source: toolTip ? toolTip.icon : ""
|
||||||
|
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
|
||||||
|
visible: toolTip != null && toolTip.icon != "" && toolTip.image == "" && valid
|
||||||
|
Layout.preferredWidth: units.iconSizes.medium
|
||||||
|
Layout.preferredHeight: units.iconSizes.medium
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
Layout.maximumWidth: preferredTextWidth
|
Layout.maximumWidth: preferredTextWidth
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user