diff --git a/declarativeimports/plasmacomponents/platformcomponents/touch/SectionScroller.qml b/declarativeimports/plasmacomponents/platformcomponents/touch/SectionScroller.qml index d93042c3b..0db1406f7 100644 --- a/declarativeimports/plasmacomponents/platformcomponents/touch/SectionScroller.qml +++ b/declarativeimports/plasmacomponents/platformcomponents/touch/SectionScroller.qml @@ -159,8 +159,8 @@ Item { } PlasmaCore.FrameSvgItem { imagePath: "widgets/tooltip" - width: childrenRect.width + margins.left + margins.right - height: childrenRect.height + margins.top + margins.bottom + width: sectionLabel.paintedWidth + margins.left + margins.right + height: sectionLabel.paintedHeight + margins.top + margins.bottom Label { id: sectionLabel font.pointSize: theme.defaultFont.pointSize*3 diff --git a/declarativeimports/plasmacomponents/qml/SectionScroller.qml b/declarativeimports/plasmacomponents/qml/SectionScroller.qml index 6ae7067a1..8aaddff69 100644 --- a/declarativeimports/plasmacomponents/qml/SectionScroller.qml +++ b/declarativeimports/plasmacomponents/qml/SectionScroller.qml @@ -110,8 +110,8 @@ Item { } PlasmaCore.FrameSvgItem { imagePath: "widgets/tooltip" - width: childrenRect.width + margins.left + margins.right - height: childrenRect.height + margins.top + margins.bottom + width: sectionLabel.paintedWidth + margins.left + margins.right + height: sectionLabel.paintedHeight + margins.top + margins.bottom Label { id: sectionLabel font.pointSize: theme.defaultFont.pointSize*3