moment/src/qml/Base/HLabel.qml

17 lines
392 B
QML
Raw Normal View History

2019-07-08 13:52:41 +10:00
// Copyright 2019 miruka
// This file is part of harmonyqml, licensed under LGPLv3.
import QtQuick.Controls 2.12
import QtQuick 2.12
2019-03-22 14:28:14 +11:00
Label {
font.family: theme.fontFamily.sans
font.pixelSize: theme.fontSize.normal
2019-04-29 05:36:43 +10:00
textFormat: Label.PlainText
2019-05-18 07:47:36 +10:00
color: theme.colors.text
linkColor: theme.colors.link
maximumLineCount: elide == Label.ElideNone ? Number.MAX_VALUE : 1
2019-03-22 14:28:14 +11:00
}