chat blocks respect font setting; use pointSize for DPI scaling

This commit is contained in:
Levi Neely 2026-08-01 10:04:49 +02:00
parent e03488e6bb
commit 873ad9ae23
1 changed files with 4 additions and 4 deletions

View File

@ -224,7 +224,7 @@ ApplicationWindow {
Label {
text: ollie.activeState
opacity: 0.7
font.pixelSize: 11
font.pointSize: theme.fontSize > 0 ? theme.fontSize * 0.85 : 11
}
Item { Layout.fillWidth: true }
@ -305,7 +305,7 @@ ApplicationWindow {
default: return ""
}
}
font.pixelSize: 11
font.pointSize: theme.fontSize > 0 ? theme.fontSize * 0.85 : 11
font.bold: true
opacity: 0.8
}
@ -321,8 +321,8 @@ ApplicationWindow {
text: blockContent || ""
wrapMode: Text.Wrap
textFormat: Text.PlainText
font.family: "monospace"
font.pixelSize: 12
font.family: theme.fontFamily || "monospace"
font.pointSize: theme.fontSize > 0 ? theme.fontSize : 12
}
}
}