Skip to content

Commit

Permalink
Add dot alternative for eliding
Browse files Browse the repository at this point in the history
  • Loading branch information
goanpeca committed Jul 17, 2024
1 parent 8b67f7b commit 3512efc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion napari_plugin_manager/qt_plugin_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def __init__(
super().__init__(parent)
self.url = url
self.name = package_name
self._version = version
self._versions_conda = versions_conda
self._versions_pypi = versions_pypi
self.setup_ui(enabled)
Expand All @@ -108,8 +109,9 @@ def __init__(
else:
self._populate_version_dropdown(CONDA)

self.version.setText(version)
mod_version = version.replace('.', '․') # noqa: RUF001
self.version.setWordWrap(True)
self.version.setText(mod_version)

if summary:
self.summary.setText(summary)
Expand Down

0 comments on commit 3512efc

Please sign in to comment.