From 8c0f8f0e5a9e141d5cd9b95cfd86e42299d5c802 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 14 Nov 2011 18:05:57 +0100 Subject: [PATCH] fix tooltip size --- .../platformcomponents/touch/SectionScroller.qml | 4 ++-- declarativeimports/plasmacomponents/qml/SectionScroller.qml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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