Autoformating

This commit is contained in:
LemmyCook 2025-08-21 21:24:30 -04:00
parent 18484f6686
commit cb554f106b
15 changed files with 170 additions and 103 deletions

View file

@ -305,8 +305,8 @@ ColumnLayout {
}
currentKey: Settings.data.audio.visualizerType
onSelected: key => {
Settings.data.audio.visualizerType = key
}
Settings.data.audio.visualizerType = key
}
}
}
}

View file

@ -73,8 +73,8 @@ ColumnLayout {
}
currentKey: Settings.data.bar.position
onSelected: key => {
Settings.data.bar.position = key
}
Settings.data.bar.position = key
}
}
}

View file

@ -49,7 +49,11 @@ ColumnLayout {
}
}
NDivider { Layout.fillWidth: true; Layout.topMargin: Style.marginL * scaling; Layout.bottomMargin: Style.marginS * scaling }
NDivider {
Layout.fillWidth: true
Layout.topMargin: Style.marginL * scaling
Layout.bottomMargin: Style.marginS * scaling
}
NText {
text: "Launcher Position"
@ -65,21 +69,33 @@ ColumnLayout {
description: "Choose where the Launcher panel appears."
Layout.fillWidth: true
model: ListModel {
ListElement { key: "center"; name: "Center (default)" }
ListElement { key: "top_left"; name: "Top Left" }
ListElement { key: "top_right"; name: "Top Right" }
ListElement { key: "bottom_left"; name: "Bottom Left" }
ListElement { key: "bottom_right"; name: "Bottom Right" }
ListElement {
key: "center"
name: "Center (default)"
}
ListElement {
key: "top_left"
name: "Top Left"
}
ListElement {
key: "top_right"
name: "Top Right"
}
ListElement {
key: "bottom_left"
name: "Bottom Left"
}
ListElement {
key: "bottom_right"
name: "Bottom Right"
}
}
currentKey: Settings.data.appLauncher.position
onSelected: function(key) {
onSelected: function (key) {
Settings.data.appLauncher.position = key
}
}
}
}
}
}

View file

@ -108,8 +108,8 @@ ColumnLayout {
}
currentKey: Settings.data.screenRecorder.videoSource
onSelected: key => {
Settings.data.screenRecorder.videoSource = key
}
Settings.data.screenRecorder.videoSource = key
}
}
// Frame Rate
@ -136,8 +136,8 @@ ColumnLayout {
}
currentKey: Settings.data.screenRecorder.frameRate
onSelected: key => {
Settings.data.screenRecorder.frameRate = key
}
Settings.data.screenRecorder.frameRate = key
}
}
// Video Quality
@ -164,8 +164,8 @@ ColumnLayout {
}
currentKey: Settings.data.screenRecorder.quality
onSelected: key => {
Settings.data.screenRecorder.quality = key
}
Settings.data.screenRecorder.quality = key
}
}
// Video Codec
@ -196,8 +196,8 @@ ColumnLayout {
}
currentKey: Settings.data.screenRecorder.videoCodec
onSelected: key => {
Settings.data.screenRecorder.videoCodec = key
}
Settings.data.screenRecorder.videoCodec = key
}
}
// Color Range
@ -216,8 +216,8 @@ ColumnLayout {
}
currentKey: Settings.data.screenRecorder.colorRange
onSelected: key => {
Settings.data.screenRecorder.colorRange = key
}
Settings.data.screenRecorder.colorRange = key
}
}
}
@ -260,8 +260,8 @@ ColumnLayout {
}
currentKey: Settings.data.screenRecorder.audioSource
onSelected: key => {
Settings.data.screenRecorder.audioSource = key
}
Settings.data.screenRecorder.audioSource = key
}
}
// Audio Codec
@ -280,8 +280,8 @@ ColumnLayout {
}
currentKey: Settings.data.screenRecorder.audioCodec
onSelected: key => {
Settings.data.screenRecorder.audioCodec = key
}
Settings.data.screenRecorder.audioCodec = key
}
}
}
}

View file

@ -189,8 +189,8 @@ ColumnLayout {
}
currentKey: Settings.data.wallpaper.swww.resizeMethod
onSelected: key => {
Settings.data.wallpaper.swww.resizeMethod = key
}
Settings.data.wallpaper.swww.resizeMethod = key
}
}
// Transition Type
@ -257,8 +257,8 @@ ColumnLayout {
}
currentKey: Settings.data.wallpaper.swww.transitionType
onSelected: key => {
Settings.data.wallpaper.swww.transitionType = key
}
Settings.data.wallpaper.swww.transitionType = key
}
}
// Transition FPS