Use CuraMenu so that custom styling is used

CURA-8683
This commit is contained in:
Jaime van Kessel 2022-01-14 15:01:48 +01:00
parent 4db8878317
commit d7d6918ab7
7 changed files with 15 additions and 12 deletions

View file

@ -4,6 +4,7 @@
import QtQuick 2.7
import UM 1.5 as UM
import Cura 1.0 as Cura
//
// Menu with Cura styling.
@ -15,7 +16,9 @@ UM.Menu
implicitWidth: UM.Theme.getSize("setting_control").width
background: Rectangle {
delegate: Cura.MenuItem {}
background: Rectangle
{
color: UM.Theme.getColor("setting_control")
border.color: UM.Theme.getColor("setting_control_border")
}