chat blocks respect font setting; use pointSize for DPI scaling
This commit is contained in:
parent
e03488e6bb
commit
873ad9ae23
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in New Issue