add settings for clock, add quote for cookie clock, make quote editable from settings

This commit is contained in:
darksignal7
2025-10-04 13:47:40 +03:00
parent 2399600169
commit 26b9d8193c
4 changed files with 126 additions and 22 deletions
@@ -313,7 +313,7 @@ Variants {
}
StyledText {
// Somehow gets fucked up if made a ClockText???
visible: Config.options.background.quote.length > 0
visible: Config.options.background.showQuote && Config.options.background.quote.length > 0
Layout.fillWidth: true
horizontalAlignment: bgRoot.textHorizontalAlignment
font {
@@ -332,10 +332,11 @@ Variants {
Loader {
id: cookieClockLoader
visible: root.clockStyle === "cookie" || root.clockStyle === "simpler-cookie"
visible: root.clockStyle === "cookie"
active: visible
sourceComponent: CookieClock {}
}
}
Item {
@@ -409,7 +410,7 @@ Variants {
}
}
// Components
// ComponentsCookieClock {}
component ClockText: StyledText {
Layout.fillWidth: true
horizontalAlignment: bgRoot.textHorizontalAlignment