forked from Shinonome/dots-hyprland
backgroundconfig: format, adjust texts
This commit is contained in:
@@ -53,9 +53,9 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ContentSection {
|
ContentSection {
|
||||||
|
id: settingsClock
|
||||||
icon: "clock_loader_40"
|
icon: "clock_loader_40"
|
||||||
title: Translation.tr("Widget: Clock")
|
title: Translation.tr("Widget: Clock")
|
||||||
id: settingsClock
|
|
||||||
|
|
||||||
function stylePresent(styleName) {
|
function stylePresent(styleName) {
|
||||||
if (!Config.options.background.widgets.clock.showOnlyWhenLocked && Config.options.background.widgets.clock.style === styleName) {
|
if (!Config.options.background.widgets.clock.showOnlyWhenLocked && Config.options.background.widgets.clock.style === styleName) {
|
||||||
@@ -172,7 +172,7 @@ ContentPage {
|
|||||||
ContentSubsection {
|
ContentSubsection {
|
||||||
visible: settingsClock.digitalPresent
|
visible: settingsClock.digitalPresent
|
||||||
title: Translation.tr("Digital clock settings")
|
title: Translation.tr("Digital clock settings")
|
||||||
tooltip: Translation.tr("Font width and roundness settings are only available for some fonts like 'Google Sans Flex'")
|
tooltip: Translation.tr("Font width and roundness settings are only available for some fonts like Google Sans Flex")
|
||||||
|
|
||||||
ConfigRow {
|
ConfigRow {
|
||||||
uniform: true
|
uniform: true
|
||||||
@@ -196,7 +196,6 @@ ContentPage {
|
|||||||
|
|
||||||
ConfigRow {
|
ConfigRow {
|
||||||
uniform: true
|
uniform: true
|
||||||
|
|
||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
buttonIcon: "date_range"
|
buttonIcon: "date_range"
|
||||||
@@ -221,7 +220,7 @@ ContentPage {
|
|||||||
|
|
||||||
MaterialTextArea {
|
MaterialTextArea {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
placeholderText: Translation.tr("Font family (e.g., Google Sans Flex)")
|
placeholderText: Translation.tr("Font family")
|
||||||
text: Config.options.background.widgets.clock.digital.font.family
|
text: Config.options.background.widgets.clock.digital.font.family
|
||||||
wrapMode: TextEdit.Wrap
|
wrapMode: TextEdit.Wrap
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
@@ -229,7 +228,6 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ConfigSlider {
|
ConfigSlider {
|
||||||
text: Translation.tr("Font weight")
|
text: Translation.tr("Font weight")
|
||||||
value: Config.options.background.widgets.clock.digital.font.weight
|
value: Config.options.background.widgets.clock.digital.font.weight
|
||||||
|
|||||||
Reference in New Issue
Block a user