Commit b45de09d authored by Nate Graham's avatar Nate Graham
Browse files

Adapt to using Kirigami.ScrollablePage a bit better

We need to manually turn off its page header and padding, otherwise we
get these in a circumstance where they're unnecessary.


(cherry picked from commit 7f62293d)
parent 147ecc69
Pipeline #219762 skipped
......@@ -12,6 +12,14 @@ import org.kde.filesharing.samba 1.0 as Samba
Kirigami.ScrollablePage {
background: Item {} /* this page is inside a tabbox, we want its background, not a window/page background */
globalToolBarStyle: Kirigami.ApplicationHeaderStyle.None
// the page it lives within already has its own
leftPadding: 0
rightPadding: 0
topPadding: 0
bottomPadding: 0
Keys.onPressed: {
// We need to explicitly handle some keys inside the sheet. Since the sheet is no FocusScope we will catch
// them here and feed them to the sheet instead.
......
Supports Markdown
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