mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 21:20:19 +00:00
0920adf40f
Correct spelling error in TemplateTitle. Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
26 lines
562 B
QML
26 lines
562 B
QML
// SPDX-License-Identifier: GPL-2.0
|
|
import QtQuick 2.11
|
|
import QtQuick.Controls 2.4
|
|
import QtQuick.Layouts 1.11
|
|
|
|
|
|
Item {
|
|
property alias title: myLabel.text
|
|
width: parent.width
|
|
height: myLabel.height + 1
|
|
|
|
Label {
|
|
id: myLabel
|
|
color: subsurfaceTheme.textColor
|
|
font.pointSize: subsurfaceTheme.titlePointSize
|
|
font.bold: true
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
text: "using the TemplateTitle you need to set the title text"
|
|
}
|
|
TemplateLine {
|
|
anchors.top: myLabel.bottom
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
}
|
|
}
|
|
|