Merge branch 'main' of https://github.com/noctalia-dev/noctalia-shell
This commit is contained in:
commit
5136af5d95
2 changed files with 325 additions and 275 deletions
|
|
@ -53,32 +53,32 @@ ColumnLayout {
|
|||
}
|
||||
}
|
||||
|
||||
// ColumnLayout {
|
||||
// spacing: Style.marginXXS * scaling
|
||||
// Layout.fillWidth: true
|
||||
ColumnLayout {
|
||||
spacing: Style.marginXXS * scaling
|
||||
Layout.fillWidth: true
|
||||
|
||||
// NLabel {
|
||||
// label: "Dock Floating Distance"
|
||||
// description: "Adjust the floating distance from the screen edge."
|
||||
// }
|
||||
NLabel {
|
||||
label: "Dock Floating Distance"
|
||||
description: "Adjust the floating distance from the screen edge."
|
||||
}
|
||||
|
||||
// RowLayout {
|
||||
// NSlider {
|
||||
// Layout.fillWidth: true
|
||||
// from: 0
|
||||
// to: 4
|
||||
// stepSize: 0.01
|
||||
// value: Settings.data.dock.floatingRatio
|
||||
// onMoved: Settings.data.dock.floatingRatio = value
|
||||
// cutoutColor: Color.mSurface
|
||||
// }
|
||||
RowLayout {
|
||||
NSlider {
|
||||
Layout.fillWidth: true
|
||||
from: 0
|
||||
to: 4
|
||||
stepSize: 0.01
|
||||
value: Settings.data.dock.floatingRatio
|
||||
onMoved: Settings.data.dock.floatingRatio = value
|
||||
cutoutColor: Color.mSurface
|
||||
}
|
||||
|
||||
// NText {
|
||||
// text: Math.floor(Settings.data.dock.floatingRatio * 100) + "%"
|
||||
// Layout.alignment: Qt.AlignVCenter
|
||||
// Layout.leftMargin: Style.marginS * scaling
|
||||
// color: Color.mOnSurface
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
NText {
|
||||
text: Math.floor(Settings.data.dock.floatingRatio * 100) + "%"
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
Layout.leftMargin: Style.marginS * scaling
|
||||
color: Color.mOnSurface
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue