Don't let the background become smaller than the svg

Otherwise the svg rendering results in broken looks.
BUG:424448
This commit is contained in:
David Redondo 2020-07-27 17:01:05 +02:00
parent 3f8469acb1
commit 8c37d1d225

View File

@ -40,6 +40,8 @@ T.ToolTip {
} }
background: PlasmaCore.FrameSvgItem { background: PlasmaCore.FrameSvgItem {
height: Math.max(implicitHeight, control.height)
width: Math.max(implicitWidth, control.width)
imagePath: "widgets/background" imagePath: "widgets/background"
} }
} }