Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
GO FORMAT YOURSELF (black)
Browse files Browse the repository at this point in the history
  • Loading branch information
cow-bot committed Oct 30, 2023
1 parent 39c918b commit a5365a1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions nexus_constructor/add_component_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit a5365a1

Please sign in to comment.