From a5365a13834e1f48e977c2030924d578344648ab Mon Sep 17 00:00:00 2001 From: cow-bot Date: Mon, 30 Oct 2023 08:53:17 +0000 Subject: [PATCH] GO FORMAT YOURSELF (black) --- nexus_constructor/add_component_window.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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)