plasmoid: Attempt to ensure details view uses full width

This commit is contained in:
Martchus 2017-10-01 21:22:37 +02:00
parent ee812781bb
commit eb3b74eec1
3 changed files with 7 additions and 1 deletions

View File

@ -28,6 +28,8 @@ Item {
spacing: 0
RowLayout {
Layout.fillWidth: true
PlasmaCore.IconItem {
Layout.preferredWidth: units.iconSizes.small
Layout.preferredHeight: units.iconSizes.small
@ -68,6 +70,7 @@ Item {
DetailView {
id: detailsView
visible: item.expanded
Layout.fillWidth: true
model: DelegateModel {
model: plasmoid.nativeInterface.devModel

View File

@ -42,6 +42,7 @@ ColumnLayout {
RowLayout {
id: itemSummary
Layout.fillWidth: true
PlasmaCore.IconItem {
Layout.preferredWidth: units.iconSizes.small
@ -114,6 +115,7 @@ ColumnLayout {
DetailView {
id: detailsView
visible: item.expanded
Layout.fillWidth: true
model: DelegateModel {
model: plasmoid.nativeInterface.dirModel

View File

@ -29,6 +29,7 @@ Item {
RowLayout {
id: itemSummary
Layout.fillWidth: true
RowLayout {
spacing: units.smallSpacing
@ -72,8 +73,8 @@ Item {
DetailView {
id: detailsView
width: parent.width
visible: item.expanded
Layout.fillWidth: true
model: DelegateModel {
model: plasmoid.nativeInterface.downloadModel