aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/Switch.qml
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-09-15 11:01:53 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2015-09-15 14:08:02 +0000
commit7e28ff0854b1b1e95e58a57555e51961967fdda2 (patch)
tree4c6e50a9f23ab62540e68c938efe822bc4170cdd /src/imports/controls/Switch.qml
parentb47ac20e368dce3bbf89bc724600703cd33cb168 (diff)
Controls: Make all internal text elements use control.font
Change-Id: I3469277e9dd413a483c82be11fd661a890fab5ba Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/Switch.qml')
-rw-r--r--src/imports/controls/Switch.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/controls/Switch.qml b/src/imports/controls/Switch.qml
index 0eafc2b2..9c05b9de 100644
--- a/src/imports/controls/Switch.qml
+++ b/src/imports/controls/Switch.qml
@@ -96,6 +96,7 @@ T.Switch {
height: control.availableHeight
text: control.text
+ font: control.font
color: control.enabled ? control.Theme.textColor : control.Theme.disabledColor
elide: Text.ElideRight
visible: control.text