Set header border and color by default in ExpandablePopup and Component

CURA-8202
This commit is contained in:
Konstantinos Karmas 2021-07-01 14:20:57 +02:00
parent 0505842235
commit a7446d681f
7 changed files with 12 additions and 12 deletions

View file

@ -15,8 +15,6 @@ Item
Cura.MachineSelector
{
id: machineSelection
headerBackgroundBorder.width: UM.Theme.getSize("default_lining").width
headerBackgroundBorder.color: UM.Theme.getColor("lining")
headerCornerSide: Cura.RoundedRectangle.Direction.All
width: UM.Theme.getSize("machine_selector_widget").width
height: parent.height

View file

@ -52,8 +52,6 @@ Item
{
id: machineSelection
headerCornerSide: Cura.RoundedRectangle.Direction.Left
headerBackgroundBorder.width: UM.Theme.getSize("default_lining").width
headerBackgroundBorder.color: UM.Theme.getColor("lining")
Layout.preferredWidth: parent.machineSelectorWidth
Layout.fillWidth: true
Layout.fillHeight: true
@ -62,8 +60,6 @@ Item
Cura.ConfigurationMenu
{
id: printerSetup
headerBackgroundBorder.width: UM.Theme.getSize("default_lining").width
headerBackgroundBorder.color: UM.Theme.getColor("lining")
Layout.fillHeight: true
Layout.fillWidth: true
Layout.preferredWidth: parent.machineSelectorWidth * 2

View file

@ -44,8 +44,6 @@ Item
id: viewsSelector
height: parent.height
width: UM.Theme.getSize("views_selector").width
headerBackgroundBorder.width: UM.Theme.getSize("default_lining").width
headerBackgroundBorder.color: UM.Theme.getColor("lining")
headerCornerSide: Cura.RoundedRectangle.Direction.Left
}

View file

@ -16,8 +16,6 @@ Cura.ExpandableComponent
id: base
dragPreferencesNamePrefix: "view/colorscheme"
headerBackgroundBorder.width: UM.Theme.getSize("default_lining").width
headerBackgroundBorder.color: UM.Theme.getColor("lining")
contentHeaderTitle: catalog.i18nc("@label", "Color scheme")