minor fixess

This commit is contained in:
2026-07-13 06:04:04 +03:00
parent e9e2cbbfec
commit ff2b8a250e
34 changed files with 712 additions and 282 deletions
+17 -5
View File
@@ -6,6 +6,11 @@ import "../components"
Item {
id: page
Rectangle {
anchors.fill: parent
color: "#161628"
}
ColumnLayout {
anchors.fill: parent
anchors.margins: 8
@@ -17,7 +22,7 @@ Item {
Layout.fillWidth: true
Text {
text: "Тип:"
color: settingsContainer.darkMode ? "white" : "black"
color: "#ffffff"
}
Item { Layout.fillWidth: true }
Button {
@@ -42,7 +47,7 @@ Item {
columns: 2
visible: settingsContainer.backgroundType !== "image"
Text { text: "Цвет 1:"; color: settingsContainer.darkMode ? "white" : "black" }
Text { text: "Цвет 1:"; color: "#ffffff" }
TextField {
id: c1
Layout.fillWidth: true
@@ -51,7 +56,7 @@ Item {
}
Text {
text: "Цвет 2:"
color: settingsContainer.darkMode ? "white" : "black"
color: "#ffffff"
visible: settingsContainer.backgroundType === "gradient"
}
TextField {
@@ -68,6 +73,13 @@ Item {
text: "Анимация"
checked: settingsContainer.backgroundAnimated
onToggled: btnController.setBackgroundAnimated(checked)
contentItem: Text {
text: parent.text
font: parent.font
color: "#ffffff"
leftPadding: parent.indicator.width + parent.spacing
verticalAlignment: Text.AlignVCenter
}
}
ColumnLayout {
@@ -75,7 +87,7 @@ Item {
Layout.fillWidth: true
Text {
text: "Имя файла фона (из папки иконок):"
color: settingsContainer.darkMode ? "white" : "black"
color: "#ffffff"
}
RowLayout {
Layout.fillWidth: true
@@ -97,7 +109,7 @@ Item {
Text {
Layout.fillWidth: true
text: "Папка иконок:\n" + settingsContainer.iconsDir
color: settingsContainer.darkMode ? "#cccccc" : "#444444"
color: "#cccccc"
font.pixelSize: 11
wrapMode: Text.Wrap
}