2022-05-05 16:42:01 +02:00

28 lines
649 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
Item { enabled: false; UM.I18nCatalog { id: catalog; name: "cura"} }
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")
}
}