summaryrefslogtreecommitdiff
path: root/prototype_2016/third_party/fluid/controls/+material/SubheadingLabel.qml
diff options
context:
space:
mode:
authorlurchi <lurchi@strangeplace.net>2017-02-16 11:43:37 +0100
committerlurchi <lurchi@strangeplace.net>2017-02-16 11:43:37 +0100
commit1a9383d087a118c479e1dc44f48e12dfb88df48b (patch)
tree59ea95abd8c4e51806b36e2cb30360f7e2cf6260 /prototype_2016/third_party/fluid/controls/+material/SubheadingLabel.qml
parentd478215fe1a3937f6b3445813515ed308c7ecaf7 (diff)
downloadsecushare-1a9383d087a118c479e1dc44f48e12dfb88df48b.tar.gz
secushare-1a9383d087a118c479e1dc44f48e12dfb88df48b.zip
remove fluid temporarily
Diffstat (limited to 'prototype_2016/third_party/fluid/controls/+material/SubheadingLabel.qml')
-rw-r--r--prototype_2016/third_party/fluid/controls/+material/SubheadingLabel.qml29
1 files changed, 0 insertions, 29 deletions
diff --git a/prototype_2016/third_party/fluid/controls/+material/SubheadingLabel.qml b/prototype_2016/third_party/fluid/controls/+material/SubheadingLabel.qml
deleted file mode 100644
index 06c005b..0000000
--- a/prototype_2016/third_party/fluid/controls/+material/SubheadingLabel.qml
+++ /dev/null
@@ -1,29 +0,0 @@
1/*
2 * This file is part of Fluid.
3 *
4 * Copyright (C) 2016 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
5 *
6 * $BEGIN_LICENSE:MPL2$
7 *
8 * This Source Code Form is subject to the terms of the Mozilla Public
9 * License, v. 2.0. If a copy of the MPL was not distributed with this
10 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 *
12 * $END_LICENSE$
13 */
14
15import QtQuick 2.4
16import QtQuick.Controls 2.0
17import Fluid.Core 1.0
18
19Label {
20 property int level: 1
21
22 font.pixelSize: Device.isMobile ? 16 : 15
23 lineHeight: level <= 1 ? 24.0 : 28.0
24 lineHeightMode: Text.FixedHeight
25 onLevelChanged: {
26 if (level < 1 || level > 2)
27 console.error("SubheadingLabel level must be either 1 or 2 with the Material style")
28 }
29}