moment/src/qml/Base/HLabel.qml

18 lines
451 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
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.foreground
2019-05-18 07:47:36 +10:00
style: Label.Outline
styleColor: theme.colors.textBorder
2019-07-22 07:50:01 +10:00
linkColor: theme.colors.accentDarker
maximumLineCount: elide == Label.ElideNone ? Number.MAX_VALUE : 1
2019-03-22 14:28:14 +11:00
}