diff options
author | j.delarago <joeydelarago@gmail.com> | 2022-03-07 15:36:11 +0300 |
---|---|---|
committer | j.delarago <joeydelarago@gmail.com> | 2022-03-07 15:36:11 +0300 |
commit | eb88316eee4c9e6253283ae3c454d978629adaea (patch) | |
tree | c7db2dd5d50a1e9abf5d2e7dab27d38577ac530b /plugins/PerObjectSettingsTool | |
parent | dc5a1ae120635b64b83512400b3661d24f316b6f (diff) |
Give PerObjectSettingsPanel.qml the same margin between settings as main settings
CURA-9005
Diffstat (limited to 'plugins/PerObjectSettingsTool')
-rw-r--r-- | plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml b/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml index 03e1da7d35..6442cb7803 100644 --- a/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml +++ b/plugins/PerObjectSettingsTool/PerObjectSettingsPanel.qml @@ -187,7 +187,7 @@ Item // It kinda looks ugly otherwise (big panel, no content on it) id: currentSettings property int maximumHeight: 200 * screenScaleFactor - height: Math.min(contents.count * (UM.Theme.getSize("section").height + UM.Theme.getSize("default_lining").height), maximumHeight) + height: Math.min(contents.count * ((UM.Theme.getSize("section").height + UM.Theme.getSize("narrow_margin").height) + UM.Theme.getSize("default_lining").height), maximumHeight) visible: currentMeshType != "anti_overhang_mesh" ListView @@ -245,7 +245,7 @@ Item { id: settingLoader width: UM.Theme.getSize("setting").width - height: UM.Theme.getSize("section").height + height: UM.Theme.getSize("section").height + UM.Theme.getSize("narrow_margin").height enabled: provider.properties.enabled === "True" property var definition: model property var settingDefinitionsModel: addedSettingsModel |