mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 15:54:32 +08:00
25 lines
486 B
QML
25 lines
486 B
QML
// Copyright (c) 2021 Ultimaker B.V.
|
|
// Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
import QtQuick 2.7
|
|
|
|
import UM 1.5 as UM
|
|
import Cura 1.0 as Cura
|
|
|
|
//
|
|
// Menu with Cura styling.
|
|
//
|
|
UM.Menu
|
|
{
|
|
id: menu
|
|
padding: 0
|
|
|
|
implicitWidth: UM.Theme.getSize("setting_control").width
|
|
|
|
delegate: Cura.MenuItem {}
|
|
background: Rectangle
|
|
{
|
|
color: UM.Theme.getColor("setting_control")
|
|
border.color: UM.Theme.getColor("setting_control_border")
|
|
}
|
|
} |