Update settings visibility pages to have correct background color on categories

CURA-8688
This commit is contained in:
j.delarago 2022-03-01 10:26:59 +01:00
parent b3c9a98879
commit 330b3f8119
2 changed files with 7 additions and 3 deletions

View file

@ -11,7 +11,9 @@ import ".."
Button { Button {
id: base; id: base;
background: Item {} background: Rectangle {
color: UM.Theme.getColor("background_3")
}
contentItem: Row contentItem: Row
{ {

View file

@ -14,6 +14,7 @@ UM.Dialog
title: catalog.i18nc("@title:window", "Select Settings to Customize for this model") title: catalog.i18nc("@title:window", "Select Settings to Customize for this model")
width: UM.Theme.getSize("small_popup_dialog").width width: UM.Theme.getSize("small_popup_dialog").width
backgroundColor: UM.Theme.getColor("background_1")
property var additional_excluded_settings property var additional_excluded_settings
@ -78,12 +79,13 @@ UM.Dialog
anchors anchors
{ {
top: filterInput.bottom top: filterInput.bottom
topMargin: UM.Theme.getSize("default_margin").height
left: parent.left left: parent.left
right: parent.right right: parent.right
bottom: parent.bottom bottom: parent.bottom
} }
ScrollBar.vertical: UM.ScrollBar {} ScrollBar.vertical: UM.ScrollBar { id: scrollBar }
clip: true clip: true
model: UM.SettingDefinitionsModel model: UM.SettingDefinitionsModel
@ -104,7 +106,7 @@ UM.Dialog
{ {
id: loader id: loader
width: listview.width width: listview.width - scrollBar.width
height: model.type != undefined ? UM.Theme.getSize("section").height : 0 height: model.type != undefined ? UM.Theme.getSize("section").height : 0
property var definition: model property var definition: model