mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Remove overlap in perobject setting panel
CURA-9149
This commit is contained in:
parent
e85420f9fa
commit
15b16e3e45
1 changed files with 4 additions and 3 deletions
|
@ -240,11 +240,11 @@ Item
|
|||
|
||||
delegate: Row
|
||||
{
|
||||
spacing: - UM.Theme.getSize("default_margin").width
|
||||
spacing: UM.Theme.getSize("default_margin").width
|
||||
Loader
|
||||
{
|
||||
id: settingLoader
|
||||
width: UM.Theme.getSize("setting").width
|
||||
width: UM.Theme.getSize("setting").width - removeButton.width
|
||||
height: UM.Theme.getSize("section").height + UM.Theme.getSize("narrow_margin").height
|
||||
enabled: provider.properties.enabled === "True"
|
||||
property var definition: model
|
||||
|
@ -297,7 +297,8 @@ Item
|
|||
|
||||
Button
|
||||
{
|
||||
width: Math.round(UM.Theme.getSize("setting").height / 2)
|
||||
id: removeButton
|
||||
width: UM.Theme.getSize("setting").height
|
||||
height: UM.Theme.getSize("setting").height
|
||||
|
||||
onClicked: addedSettingsModel.setVisible(model.key, false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue