mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Use CuraMenu so that custom styling is used
CURA-8683
This commit is contained in:
parent
4db8878317
commit
d7d6918ab7
7 changed files with 15 additions and 12 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue