mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Update settings visibility pages to have correct background color on categories
CURA-8688
This commit is contained in:
parent
b3c9a98879
commit
330b3f8119
2 changed files with 7 additions and 3 deletions
|
@ -11,7 +11,9 @@ import ".."
|
|||
Button {
|
||||
id: base;
|
||||
|
||||
background: Item {}
|
||||
background: Rectangle {
|
||||
color: UM.Theme.getColor("background_3")
|
||||
}
|
||||
|
||||
contentItem: Row
|
||||
{
|
||||
|
|
|
@ -14,6 +14,7 @@ UM.Dialog
|
|||
|
||||
title: catalog.i18nc("@title:window", "Select Settings to Customize for this model")
|
||||
width: UM.Theme.getSize("small_popup_dialog").width
|
||||
backgroundColor: UM.Theme.getColor("background_1")
|
||||
|
||||
property var additional_excluded_settings
|
||||
|
||||
|
@ -78,12 +79,13 @@ UM.Dialog
|
|||
anchors
|
||||
{
|
||||
top: filterInput.bottom
|
||||
topMargin: UM.Theme.getSize("default_margin").height
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
bottom: parent.bottom
|
||||
}
|
||||
|
||||
ScrollBar.vertical: UM.ScrollBar {}
|
||||
ScrollBar.vertical: UM.ScrollBar { id: scrollBar }
|
||||
clip: true
|
||||
|
||||
model: UM.SettingDefinitionsModel
|
||||
|
@ -104,7 +106,7 @@ UM.Dialog
|
|||
{
|
||||
id: loader
|
||||
|
||||
width: listview.width
|
||||
width: listview.width - scrollBar.width
|
||||
height: model.type != undefined ? UM.Theme.getSize("section").height : 0
|
||||
|
||||
property var definition: model
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue