summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-26 11:39:14 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-26 11:39:14 -0600
commit91431d3694ab6823717eb6b43b669dae87c6d3d6 (patch)
treed8039c4b16d1c615a7d449824cdd669069ea982f /components
parent7e6bd8ff32aba63ec9a3006904106c5fa4614f1a (diff)
downloadkube-91431d3694ab6823717eb6b43b669dae87c6d3d6.tar.gz
kube-91431d3694ab6823717eb6b43b669dae87c6d3d6.zip
Set an application wide default font.
Theoretically this should be picked up by all qtquickcontrols2 controls, and they should also handle inheriting the fonts to children. Seems to work for AbstractButton, but didn't for the label...
Diffstat (limited to 'components')
-rw-r--r--components/kube/contents/ui/Kube.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml
index ef500a90..498d987a 100644
--- a/components/kube/contents/ui/Kube.qml
+++ b/components/kube/contents/ui/Kube.qml
@@ -32,6 +32,9 @@ Controls2.ApplicationWindow {
32 width: Screen.desktopAvailableWidth * 0.8 32 width: Screen.desktopAvailableWidth * 0.8
33 visible: true 33 visible: true
34 34
35 //Application default font
36 font.family: Kube.Font.fontFamily
37
35 Kube.Listener { 38 Kube.Listener {
36 filter: Kube.Messages.notification 39 filter: Kube.Messages.notification
37 onMessageReceived: { 40 onMessageReceived: {