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 18, 2024
1 parent 8b67f7b commit 395639f
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 @@ -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,10 @@ 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)
self.version.setToolTip(version)

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

0 comments on commit 395639f

Please sign in to comment.