diff options
author | j.delarago <joeydelarago@gmail.com> | 2022-04-21 12:56:17 +0300 |
---|---|---|
committer | j.delarago <joeydelarago@gmail.com> | 2022-04-21 12:56:17 +0300 |
commit | 5a8343ce2547644902f05c0bf787de7e9ce3db88 (patch) | |
tree | 7f724eb980c881098678959fa180fde80dbdafe9 /plugins/PerObjectSettingsTool | |
parent | 271868eafd38ba7b66e195f534019112bf0196a2 (diff) |
Center remove button in row by giving it the same height as the input.CURA-9149_object_settings_ovelap
Adjust width of rows when scrollbar is present so they don't overlap.
CURA-9149
Diffstat (limited to 'plugins/PerObjectSettingsTool')
-rw-r--r-- | plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml b/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml index 397710114e..2d4b3e01e5 100644 --- a/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml +++ b/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml @@ -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) |