Skip to content

Commit

Permalink
Update gui.py
Browse files Browse the repository at this point in the history
Set widths of components.
  • Loading branch information
akey7 committed Sep 4, 2020
1 parent ed0d592 commit 263a33d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wisdem/yaml_editor/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ def create_weis_selection_central_widget(self) -> QWidget:
geometry_layout.addRow(geometry_visualize_button)
geometry_layout.addRow(self.geometry_yaml_widget)
geometry_widget = QWidget()
geometry_widget.setFixedWidth(500)
geometry_widget.setLayout(geometry_layout)

modeling_layout = QFormLayout()
Expand All @@ -303,6 +304,7 @@ def create_weis_selection_central_widget(self) -> QWidget:
)
modeling_layout.addRow(self.modeling_yaml_widget)
modeling_widget = QWidget()
modeling_widget.setFixedWidth(500)
modeling_widget.setLayout(modeling_layout)

analysis_layout = QFormLayout()
Expand All @@ -312,6 +314,7 @@ def create_weis_selection_central_widget(self) -> QWidget:
)
analysis_layout.addRow(self.analysis_yaml_editor_widget)
analysis_widget = QWidget()
analysis_widget.setFixedWidth(500)
analysis_widget.setLayout(analysis_layout)

main_layout = QHBoxLayout()
Expand Down

0 comments on commit 263a33d

Please sign in to comment.