fix for mainitem width

This commit is contained in:
Marco Martin 2011-11-25 19:08:04 +01:00
parent 215306ee13
commit 41dadc7729
2 changed files with 2 additions and 5 deletions

View File

@ -112,6 +112,7 @@ Item {
onActiveWindowChanged: if (!activeWindow) dialog.visible = false
mainItem: Item {
id: mainItem
width: theme.defaultFont.mSize.width * 40
height: titleBar.childrenRect.height + contentItem.childrenRect.height + buttonItem.childrenRect.height
@ -133,6 +134,7 @@ Item {
Item {
id: contentItem
onChildrenRectChanged: mainItem.width = childrenRect.width
clip: true
anchors {
top: titleBar.bottom

View File

@ -151,11 +151,6 @@ Item {
}
sectionLabel.text = Sections.closestSection(y/listView.height)
}
Behavior on y {
NumberAnimation {
duration: 150
}
}
}
PlasmaCore.FrameSvgItem {
imagePath: "widgets/tooltip"