Fix a few hardcoded margin by proper Style.xxx

This commit is contained in:
ItsLemmy
2025-09-22 20:16:39 -04:00
parent a395156556
commit aec170d7f8
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -766,7 +766,7 @@ Loader {
Rectangle {
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.top
anchors.bottomMargin: 12 * scaling
anchors.bottomMargin: Style.marginM * scaling
radius: Style.radiusM * scaling
color: Color.mSurface
border.color: Color.mOutline
@@ -817,7 +817,7 @@ Loader {
Rectangle {
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.top
anchors.bottomMargin: 12 * scaling
anchors.bottomMargin: Style.marginM * scaling
radius: Style.radiusM * scaling
color: Color.mSurface
border.color: Color.mOutline
@@ -869,7 +869,7 @@ Loader {
Rectangle {
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.top
anchors.bottomMargin: 12 * scaling
anchors.bottomMargin: Style.marginM * scaling
radius: Style.radiusM * scaling
color: Color.mSurface
border.color: Color.mOutline
+1 -1
View File
@@ -48,7 +48,7 @@ ColumnLayout {
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignRight
Layout.alignment: Qt.AlignBottom
Layout.bottomMargin: 12 * scaling
Layout.bottomMargin: Style.marginM * scaling
}
}