Auto-formatting

This commit is contained in:
LemmyCook 2025-08-28 15:01:23 -04:00
parent 6ac172fe02
commit b2e9058a2f
2 changed files with 6 additions and 6 deletions

View file

@ -303,11 +303,11 @@ ColumnLayout {
} }
} }
// Temperature // Temperature
ColumnLayout { ColumnLayout {
spacing: Style.marginXS * scaling spacing: Style.marginXS * scaling
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
NLabel { NLabel {
label: "Color temperature" label: "Color temperature"
description: "Select two temperatures in Kelvin" description: "Select two temperatures in Kelvin"
@ -317,7 +317,7 @@ ColumnLayout {
visible: Settings.data.nightLight.enabled visible: Settings.data.nightLight.enabled
spacing: Style.marginM * scaling spacing: Style.marginM * scaling
Layout.fillWidth: false Layout.fillWidth: false
Layout.fillHeight: true Layout.fillHeight: true
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
NText { NText {

View file

@ -25,16 +25,16 @@ ColumnLayout {
NLabel { NLabel {
label: root.label label: root.label
description: root.description description: root.description
visible: root.label !== "" || root.description !== "" visible: root.label !== "" || root.description !== ""
} }
// Container // Container
Rectangle { Rectangle {
id: frame id: frame
implicitWidth: parent.width implicitWidth: parent.width
implicitHeight: Style.baseWidgetSize * 1.1 * scaling implicitHeight: Style.baseWidgetSize * 1.1 * scaling
Layout.minimumWidth: 80 * scaling Layout.minimumWidth: 80 * scaling
Layout.maximumWidth: root.inputMaxWidth Layout.maximumWidth: root.inputMaxWidth
radius: Style.radiusM * scaling radius: Style.radiusM * scaling
color: Color.mSurface color: Color.mSurface
border.color: Color.mOutline border.color: Color.mOutline