mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Move clock font settings to widget-specific configuration
- Moved clock font selection from general settings to clock widget settings - Added custom font toggle and selection in ClockSettings.qml - Updated BarWidgetRegistry.qml with new clock font metadata - Removed global clockFont setting from Settings.qml and GeneralTab.qml - Updated Clock.qml to use widget-specific custom font setting - Added proper translation keys for new font options - Maintained backward compatibility with existing font hierarchy
This commit is contained in:
@@ -237,19 +237,6 @@ ColumnLayout {
|
||||
}
|
||||
}
|
||||
|
||||
NSearchableComboBox {
|
||||
label: "Clock Font"
|
||||
description: "Font used specifically for clock displays in the bar and widgets."
|
||||
model: FontService.availableFonts
|
||||
currentKey: Settings.data.ui.clockFont
|
||||
placeholder: "Select clock font..."
|
||||
searchPlaceholder: "Search fonts..."
|
||||
popupHeight: 420 * scaling
|
||||
minimumWidth: 300 * scaling
|
||||
onSelected: function (key) {
|
||||
Settings.data.ui.clockFont = key
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
NLabel {
|
||||
|
||||
Reference in New Issue
Block a user