Change the panel to have also rounded rectangle in the top part

Contributes to CURA-5941.
This commit is contained in:
Diego Prado Gesto 2018-12-10 12:03:29 +01:00
parent e479772f4d
commit dff364ee30
2 changed files with 4 additions and 2 deletions

View file

@ -162,7 +162,7 @@ Item
background: Cura.RoundedRectangle background: Cura.RoundedRectangle
{ {
cornerSide: Cura.RoundedRectangle.Direction.Down cornerSide: Cura.RoundedRectangle.Direction.All
color: contentBackgroundColor color: contentBackgroundColor
border.width: UM.Theme.getSize("default_lining").width border.width: UM.Theme.getSize("default_lining").width
border.color: UM.Theme.getColor("lining") border.color: UM.Theme.getColor("lining")

View file

@ -38,11 +38,13 @@ Item
// Header of the popup // Header of the popup
Rectangle Cura.RoundedRectangle
{ {
id: header id: header
height: UM.Theme.getSize("print_setup_widget_header").height height: UM.Theme.getSize("print_setup_widget_header").height
color: UM.Theme.getColor("secondary") color: UM.Theme.getColor("secondary")
cornerSide: Cura.RoundedRectangle.Direction.Up
radius: UM.Theme.getSize("default_radius").width
anchors anchors
{ {