DimDesktop: removed in favor of nice curvy corners on panels

This commit is contained in:
ItsLemmy
2025-10-31 10:53:59 -04:00
parent 81edc14e63
commit 066d6f2e2f
7 changed files with 2 additions and 49 deletions
@@ -11,11 +11,9 @@ ColumnLayout {
property real selectedScaleRatio: 1.0
property string selectedBarPosition: "top"
property bool selectedDimDesktop: true
signal scaleRatioChanged(real ratio)
signal barPositionChanged(string position)
signal dimDesktopChanged(bool dim)
spacing: Style.marginM
@@ -214,32 +212,6 @@ ColumnLayout {
anchors.centerIn: parent
}
}
ColumnLayout {
Layout.fillWidth: true
spacing: 2
NText {
text: I18n.tr("settings.user-interface.dim-desktop.label")
pointSize: Style.fontSizeL
font.weight: Style.fontWeightBold
color: Color.mOnSurface
}
NText {
text: I18n.tr("settings.user-interface.dim-desktop.description")
pointSize: Style.fontSizeS
color: Color.mOnSurfaceVariant
wrapMode: Text.WordWrap
Layout.fillWidth: true
}
}
NToggle {
checked: selectedDimDesktop
onToggled: function (checked) {
selectedDimDesktop = checked
dimDesktopChanged(checked)
}
}
}
// Divider