Commit 28724ce8 authored by Nate Graham's avatar Nate Graham 🔩

[applet] Set list item widths manually

The parent items don't handle this themselves so it needs to be done
manually in the child items.
parent 6c2418c7
......@@ -527,6 +527,7 @@ Item {
}
boundsBehavior: Flickable.StopAtBounds;
delegate: StreamListItem {
width: sinkInputView.width
type: "sink-input"
draggable: sinkView.count > 1
}
......@@ -556,6 +557,7 @@ Item {
}
boundsBehavior: Flickable.StopAtBounds;
delegate: StreamListItem {
width: sourceOutputView.width
type: "source-input"
draggable: sourceView.count > 1
}
......@@ -582,6 +584,7 @@ Item {
boundsBehavior: Flickable.StopAtBounds;
delegate: DeviceListItem {
width: sinkView.width
type: "sink"
onlyone: sinkView.count === 1
}
......@@ -609,6 +612,7 @@ Item {
boundsBehavior: Flickable.StopAtBounds;
delegate: DeviceListItem {
width: sourceView.width
type: "source"
onlyone: sourceView.count === 1
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment