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
|
||||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue