mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
27 lines
No EOL
679 B
QML
27 lines
No EOL
679 B
QML
// Copyright (c) 2018 Ultimaker B.V.
|
|
// Toolbox is released under the terms of the LGPLv3 or higher.
|
|
|
|
import QtQuick 2.2
|
|
import QtQuick.Controls 1.4
|
|
import QtQuick.Controls.Styles 1.4
|
|
import UM 1.5 as UM
|
|
|
|
ButtonStyle
|
|
{
|
|
background: Rectangle
|
|
{
|
|
implicitWidth: UM.Theme.getSize("toolbox_action_button").width
|
|
implicitHeight: UM.Theme.getSize("toolbox_action_button").height
|
|
color: "transparent"
|
|
border
|
|
{
|
|
width: UM.Theme.getSize("default_lining").width
|
|
color: UM.Theme.getColor("lining")
|
|
}
|
|
}
|
|
label: UM.Label
|
|
{
|
|
text: control.text
|
|
horizontalAlignment: Text.AlignHCenter
|
|
}
|
|
} |