diff --git a/containments/desktop/package/contents/ui/FolderItemPreviewPluginsDialog.qml b/containments/desktop/package/contents/ui/FolderItemPreviewPluginsDialog.qml --- a/containments/desktop/package/contents/ui/FolderItemPreviewPluginsDialog.qml +++ b/containments/desktop/package/contents/ui/FolderItemPreviewPluginsDialog.qml @@ -46,28 +46,43 @@ id: previewPluginsModel } + SystemPalette { + id: systemPalette; + colorGroup: SystemPalette.Active + } + ColumnLayout { anchors.fill: parent + anchors.margins: 2*units.smallSpacing - ScrollView { + Rectangle { Layout.fillWidth: true Layout.fillHeight: true + color: systemPalette.base + + ScrollView { + anchors.fill: parent + + frameVisible: true - frameVisible: true + ListView { + model: previewPluginsModel - ListView { - model: previewPluginsModel + delegate: CheckBox { + Layout.leftMargin: units.smallSpacing + Layout.rightMargin: units.smallSpacing - delegate: CheckBox { - text: model.display + text: model.display - checked: model.checked - onCheckedChanged: model.checked = checked + checked: model.checked + onCheckedChanged: model.checked = checked + } } } } RowLayout { + Layout.margins: units.smallSpacing Layout.alignment: (Qt.application.layoutDirection == Qt.LeftToRight) ? Qt.AlignRight : Qt.AlignLeft layoutDirection: Qt.application.layoutDirection