plasmoid: Fix width of detail items
So the alignment and text eliding actually has effect.
This commit is contained in:
parent
6c6830936d
commit
a4c2074012
|
@ -77,6 +77,7 @@ Item {
|
|||
model: plasmoid.nativeInterface.devModel
|
||||
rootIndex: detailsView.model.modelIndex(index)
|
||||
delegate: DetailItem {
|
||||
width: detailsView.width
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -120,6 +120,7 @@ ColumnLayout {
|
|||
model: plasmoid.nativeInterface.dirModel
|
||||
rootIndex: detailsView.model.modelIndex(sourceIndex)
|
||||
delegate: DetailItem {
|
||||
width: detailsView.width
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ Item {
|
|||
model: plasmoid.nativeInterface.downloadModel
|
||||
rootIndex: detailsView.model.modelIndex(index)
|
||||
delegate: RowLayout {
|
||||
width: parent.width
|
||||
width: detailsView.width
|
||||
|
||||
PlasmaCore.IconItem {
|
||||
Layout.preferredWidth: units.iconSizes.medium
|
||||
|
|
Loading…
Reference in New Issue