plasmoid: Attempt to ensure details view uses full width
This commit is contained in:
parent
ee812781bb
commit
eb3b74eec1
|
@ -28,6 +28,8 @@ Item {
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
PlasmaCore.IconItem {
|
PlasmaCore.IconItem {
|
||||||
Layout.preferredWidth: units.iconSizes.small
|
Layout.preferredWidth: units.iconSizes.small
|
||||||
Layout.preferredHeight: units.iconSizes.small
|
Layout.preferredHeight: units.iconSizes.small
|
||||||
|
@ -68,6 +70,7 @@ Item {
|
||||||
DetailView {
|
DetailView {
|
||||||
id: detailsView
|
id: detailsView
|
||||||
visible: item.expanded
|
visible: item.expanded
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
model: DelegateModel {
|
model: DelegateModel {
|
||||||
model: plasmoid.nativeInterface.devModel
|
model: plasmoid.nativeInterface.devModel
|
||||||
|
|
|
@ -42,6 +42,7 @@ ColumnLayout {
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: itemSummary
|
id: itemSummary
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
PlasmaCore.IconItem {
|
PlasmaCore.IconItem {
|
||||||
Layout.preferredWidth: units.iconSizes.small
|
Layout.preferredWidth: units.iconSizes.small
|
||||||
|
@ -114,6 +115,7 @@ ColumnLayout {
|
||||||
DetailView {
|
DetailView {
|
||||||
id: detailsView
|
id: detailsView
|
||||||
visible: item.expanded
|
visible: item.expanded
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
model: DelegateModel {
|
model: DelegateModel {
|
||||||
model: plasmoid.nativeInterface.dirModel
|
model: plasmoid.nativeInterface.dirModel
|
||||||
|
|
|
@ -29,6 +29,7 @@ Item {
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: itemSummary
|
id: itemSummary
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
spacing: units.smallSpacing
|
spacing: units.smallSpacing
|
||||||
|
@ -72,8 +73,8 @@ Item {
|
||||||
|
|
||||||
DetailView {
|
DetailView {
|
||||||
id: detailsView
|
id: detailsView
|
||||||
width: parent.width
|
|
||||||
visible: item.expanded
|
visible: item.expanded
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
model: DelegateModel {
|
model: DelegateModel {
|
||||||
model: plasmoid.nativeInterface.downloadModel
|
model: plasmoid.nativeInterface.downloadModel
|
||||||
|
|
Loading…
Reference in New Issue