diff --git a/nexus_constructor/add_component_window.py b/nexus_constructor/add_component_window.py index cabf29a0d..b0423bc81 100644 --- a/nexus_constructor/add_component_window.py +++ b/nexus_constructor/add_component_window.py @@ -65,7 +65,7 @@ def __init__( initial_edit: bool, nx_classes=None, tree_view_updater: Callable = None, - use_dialogs: bool = False + use_dialogs: bool = False, ): self._tree_view_updater = tree_view_updater self._scene_widget = scene_widget @@ -510,7 +510,12 @@ def mesh_file_picker(self): self.fileLineEdit.setText(filename) def height_reset(self, height): - self.setFixedHeight(self.shapeOptionsBox.sizeHint().height() + self.fieldsBox.sizeHint().height() + self.unitsbox.sizeHint().height() + height) + self.setFixedHeight( + self.shapeOptionsBox.sizeHint().height() + + self.fieldsBox.sizeHint().height() + + self.unitsbox.sizeHint().height() + + height + ) def show_cylinder_fields(self): self.shapeOptionsBox.setVisible(True)