Skip to content

Commit

Permalink
Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
goanpeca committed Jul 17, 2024
1 parent 824beab commit 8b67f7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion napari_plugin_manager/qt_plugin_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ def __init__(
self._populate_version_dropdown(CONDA)

self.version.setText(version)
self.version.setWordWrap(True)

if summary:
self.summary.setText(summary)
if author:
Expand Down Expand Up @@ -601,7 +603,8 @@ def _resize_pluginlistitem(self, item):
item.widget.setFixedHeight(self._initial_height + 35)

Check warning on line 603 in napari_plugin_manager/qt_plugin_dialog.py

View check run for this annotation

Codecov / codecov/patch

napari_plugin_manager/qt_plugin_dialog.py#L603

Added line #L603 was not covered by tests
else:
item.widget.setFixedHeight(self._initial_height)

Check warning on line 605 in napari_plugin_manager/qt_plugin_dialog.py

View check run for this annotation

Codecov / codecov/patch

napari_plugin_manager/qt_plugin_dialog.py#L605

Added line #L605 was not covered by tests
item.setSizeHint(item.widget.size())

item.setSizeHint(QSize(0, item.widget.height()))

Check warning on line 607 in napari_plugin_manager/qt_plugin_dialog.py

View check run for this annotation

Codecov / codecov/patch

napari_plugin_manager/qt_plugin_dialog.py#L607

Added line #L607 was not covered by tests

def handle_action(
self,
Expand Down

0 comments on commit 8b67f7b

Please sign in to comment.