fix tooltip size

This commit is contained in:
Marco Martin 2011-11-14 18:05:57 +01:00
parent f44e697aab
commit 8c0f8f0e5a
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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