From 91431d3694ab6823717eb6b43b669dae87c6d3d6 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 26 Jul 2017 11:39:14 -0600 Subject: 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... --- framework/qml/AbstractButton.qml | 3 --- 1 file changed, 3 deletions(-) (limited to 'framework/qml') diff --git a/framework/qml/AbstractButton.qml b/framework/qml/AbstractButton.qml index 53926cab..28337681 100644 --- a/framework/qml/AbstractButton.qml +++ b/framework/qml/AbstractButton.qml @@ -40,8 +40,6 @@ T.Button { hoverEnabled: true Keys.onReturnPressed: root.clicked() - font.family: Font.fontFamily - background: Rectangle { color: root.color @@ -74,6 +72,5 @@ T.Button { horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter color: root.textColor - font: root.font } } -- cgit v1.2.3