mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 15:54:32 +08:00

# Conflicts: # resources/qml/Widgets/Menu.qml # resources/qml/Widgets/MenuItem.qml # resources/themes/cura-dark/theme.json # resources/themes/cura-light/theme.json
27 lines
576 B
QML
27 lines
576 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
|
|
topPadding: UM.Theme.getSize("narrow_margin").height
|
|
bottomPadding: UM.Theme.getSize("narrow_margin").height
|
|
padding: 0
|
|
|
|
implicitWidth: UM.Theme.getSize("menu").width
|
|
|
|
delegate: Cura.MenuItem {}
|
|
background: Rectangle
|
|
{
|
|
color: UM.Theme.getColor("main_background")
|
|
border.color: UM.Theme.getColor("lining")
|
|
}
|
|
} |