mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Merge pull request #11833 from Ultimaker/CURA-9149_object_settings_ovelap
CURA-9149 Fix PerObjectSettings remove button layout
This commit is contained in:
commit
81df26e4d9
1 changed files with 3 additions and 3 deletions
|
@ -196,7 +196,7 @@ Item
|
|||
height: parent.height
|
||||
width: UM.Theme.getSize("setting").width + UM.Theme.getSize("default_margin").width
|
||||
|
||||
ScrollBar.vertical: UM.ScrollBar {}
|
||||
ScrollBar.vertical: UM.ScrollBar { id: scrollBar }
|
||||
clip: true
|
||||
spacing: UM.Theme.getSize("default_lining").height
|
||||
|
||||
|
@ -244,7 +244,7 @@ Item
|
|||
Loader
|
||||
{
|
||||
id: settingLoader
|
||||
width: UM.Theme.getSize("setting").width - removeButton.width
|
||||
width: UM.Theme.getSize("setting").width - removeButton.width - scrollBar.width
|
||||
height: UM.Theme.getSize("section").height + UM.Theme.getSize("narrow_margin").height
|
||||
enabled: provider.properties.enabled === "True"
|
||||
property var definition: model
|
||||
|
@ -299,7 +299,7 @@ Item
|
|||
{
|
||||
id: removeButton
|
||||
width: UM.Theme.getSize("setting").height
|
||||
height: UM.Theme.getSize("setting").height
|
||||
height: UM.Theme.getSize("setting").height + UM.Theme.getSize("narrow_margin").height
|
||||
|
||||
onClicked: addedSettingsModel.setVisible(model.key, false)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue