diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-31 22:21:13 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-31 22:21:13 -0600 |
commit | c44641a13aca0138ea331f04025b16dd9dc6c953 (patch) | |
tree | 59bda8e7bbbf7fa12759ed970c2f375ace273033 /components/mailviewer/contents/ui/TextContent.qml | |
parent | 804466dba970174ed00289b1cde3d8862b111042 (diff) | |
download | kube-c44641a13aca0138ea331f04025b16dd9dc6c953.tar.gz kube-c44641a13aca0138ea331f04025b16dd9dc6c953.zip |
Set the font familiy for a much less horrible reading experience.
Diffstat (limited to 'components/mailviewer/contents/ui/TextContent.qml')
-rw-r--r-- | components/mailviewer/contents/ui/TextContent.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/mailviewer/contents/ui/TextContent.qml b/components/mailviewer/contents/ui/TextContent.qml index ee3284d4..f0208a83 100644 --- a/components/mailviewer/contents/ui/TextContent.qml +++ b/components/mailviewer/contents/ui/TextContent.qml | |||
@@ -51,6 +51,7 @@ Item { | |||
51 | wrapMode: TextEdit.Wrap | 51 | wrapMode: TextEdit.Wrap |
52 | textFormat: Text.RichText | 52 | textFormat: Text.RichText |
53 | 53 | ||
54 | font.family: Kube.Font.fontFamily | ||
54 | color: embedded ? Kube.Colors.disabledTextColor : Kube.Colors.textColor | 55 | color: embedded ? Kube.Colors.disabledTextColor : Kube.Colors.textColor |
55 | onLinkActivated: Qt.openUrlExternally(link) | 56 | onLinkActivated: Qt.openUrlExternally(link) |
56 | //TODO This might no longer be necessary starting with Qt 5.8 | 57 | //TODO This might no longer be necessary starting with Qt 5.8 |