Fix hardcoded spacing/padding

Another padding fix
This commit is contained in:
Loren Burkholder 2021-07-20 10:10:43 -04:00
parent 6c9ac76260
commit 152acdc4a5
2 changed files with 6 additions and 6 deletions

View file

@ -47,7 +47,7 @@ ApplicationWindow {
ColumnLayout { ColumnLayout {
anchors.fill: parent anchors.fill: parent
anchors.margins: 10 anchors.margins: Nheko.paddingMedium
spacing: Nheko.paddingMedium spacing: Nheko.paddingMedium
Label { Label {
@ -106,7 +106,7 @@ ApplicationWindow {
} }
ColumnLayout { ColumnLayout {
spacing: 5 spacing: Nheko.paddingSmall
Label { Label {
text: model.displayName text: model.displayName

View file

@ -28,7 +28,7 @@ ApplicationWindow {
ColumnLayout { ColumnLayout {
anchors.fill: parent anchors.fill: parent
anchors.margins: 10 anchors.margins: Nheko.paddingMedium
spacing: Nheko.paddingMedium spacing: Nheko.paddingMedium
Avatar { Avatar {
@ -59,7 +59,7 @@ ApplicationWindow {
ScrollView { ScrollView {
palette: Nheko.colors palette: Nheko.colors
padding: 10 padding: Nheko.paddingMedium
ScrollBar.horizontal.visible: false ScrollBar.horizontal.visible: false
Layout.fillHeight: true Layout.fillHeight: true
Layout.minimumHeight: 200 Layout.minimumHeight: 200
@ -69,7 +69,7 @@ ApplicationWindow {
id: memberList id: memberList
clip: true clip: true
spacing: 8 spacing: Nheko.paddingMedium
boundsBehavior: Flickable.StopAtBounds boundsBehavior: Flickable.StopAtBounds
model: members model: members
@ -92,7 +92,7 @@ ApplicationWindow {
} }
ColumnLayout { ColumnLayout {
spacing: 5 spacing: Nheko.paddingSmall
Label { Label {
text: model.displayName text: model.displayName