Replace hardcoded font with check for default fonts, fall back to
inter/roboto Settings: use font detection function GeneralTab: let user know that it uses default fonts and falls back to inter/roboto FontService: add proper checks for default fonts (sans & mono)
This commit is contained in:
parent
62b12d5436
commit
be4a69f6e0
3 changed files with 126 additions and 3 deletions
|
|
@ -195,6 +195,15 @@ ColumnLayout {
|
|||
Layout.bottomMargin: Style.marginS * scaling
|
||||
}
|
||||
|
||||
NText {
|
||||
text: "Fonts are automatically detected from your system. Inter/Roboto are used as fallbacks when system fonts cannot be detected."
|
||||
font.pointSize: Style.fontSizeS * scaling
|
||||
color: Color.mOnSurfaceVariant
|
||||
wrapMode: Text.WordWrap
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: Style.marginM * scaling
|
||||
}
|
||||
|
||||
// Font configuration section
|
||||
ColumnLayout {
|
||||
spacing: Style.marginL * scaling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue