fix for mainitem width
This commit is contained in:
parent
215306ee13
commit
41dadc7729
@ -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
|
||||
|
@ -151,11 +151,6 @@ Item {
|
||||
}
|
||||
sectionLabel.text = Sections.closestSection(y/listView.height)
|
||||
}
|
||||
Behavior on y {
|
||||
NumberAnimation {
|
||||
duration: 150
|
||||
}
|
||||
}
|
||||
}
|
||||
PlasmaCore.FrameSvgItem {
|
||||
imagePath: "widgets/tooltip"
|
||||
|
Loading…
Reference in New Issue
Block a user