feat: add extra padding to bottom of nexus pages
So you can scroll up slightly more than the bottom Also reduce top spacing
This commit is contained in:
parent
c8bc87836b
commit
b01137edf1
1 changed files with 2 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ ColumnLayout {
|
||||||
|
|
||||||
default property Item contentChild
|
default property Item contentChild
|
||||||
|
|
||||||
spacing: Tokens.spacing.extraExtraLarge
|
spacing: Tokens.spacing.extraLargeIncreased
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
spacing: Tokens.spacing.largeIncreased
|
spacing: Tokens.spacing.largeIncreased
|
||||||
|
|
@ -52,9 +52,8 @@ ColumnLayout {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
||||||
Layout.topMargin: -topMargin
|
Layout.topMargin: -topMargin
|
||||||
Layout.bottomMargin: -bottomMargin
|
|
||||||
topMargin: Tokens.padding.large
|
topMargin: Tokens.padding.large
|
||||||
bottomMargin: Tokens.padding.large
|
bottomMargin: Tokens.padding.extraLarge
|
||||||
|
|
||||||
contentHeight: root.contentChild?.implicitHeight ?? 0
|
contentHeight: root.contentChild?.implicitHeight ?? 0
|
||||||
contentItem.children: [root.contentChild]
|
contentItem.children: [root.contentChild]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue