blob: 802632fe700100a9235ef2501b580602498cf648 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
import QtQuick
TimelineText {
property bool isLabel: false
property int valueWidth: 170
property int labelWidth: implicitWidth
font.bold: isLabel
elide: isLabel ? Text.ElideNone : Text.ElideRight
width: isLabel ? labelWidth : valueWidth
}
|