aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/Page.qml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/Page.qml')
-rw-r--r--desktop/Page.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/Page.qml b/desktop/Page.qml
index b29158e..eb1c5c0 100644
--- a/desktop/Page.qml
+++ b/desktop/Page.qml
@@ -27,6 +27,10 @@ Item {
// user page opens the git page).
signal go(string name)
+ // Shown at the right of the header, fixed while the content scrolls: a
+ // settings page's SaveBar.
+ property Component actions: null
+
// The height the content area shows, for content that scrolls itself
// (the wallpaper list) and so wants a fixed height, not the page's scroll.
readonly property real viewHeight: scroll.height
@@ -75,6 +79,11 @@ Item {
color: Theme.text
}
}
+
+ Loader {
+ anchors { right: parent.right; verticalCenter: parent.verticalCenter }
+ sourceComponent: page.actions
+ }
}
Rectangle {