mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 22:29:41 +08:00
35 lines
828 B
QML
35 lines
828 B
QML
// Copyright (c) 2017 Ultimaker B.V.
|
|
// Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
import QtQuick 2.10
|
|
import QtQuick.Controls 1.4
|
|
import QtQuick.Controls.Styles 1.4
|
|
import QtQuick.Layouts 1.3
|
|
|
|
import UM 1.2 as UM
|
|
import Cura 1.0 as Cura
|
|
|
|
Item
|
|
{
|
|
id: base
|
|
property string label
|
|
height: childrenRect.height
|
|
|
|
Rectangle
|
|
{
|
|
color: UM.Theme.getColor("setting_category")
|
|
width: base.width
|
|
height: UM.Theme.getSize("section").height
|
|
|
|
Label
|
|
{
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
anchors.left: parent.left
|
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
|
text: label
|
|
font: UM.Theme.getFont("default")
|
|
color: UM.Theme.getColor("setting_category_text")
|
|
}
|
|
}
|
|
}
|