Skip to content
Browse files
[plugins] In dependencies dialog, make sure column Name's width is en…
…ough to show the whole plugin name
  • Loading branch information
gacarrillor authored and nyalldawson committed Nov 4, 2021
1 parent 78ad0db commit 10633af4464ca072ccd094b2f13bf8ef4a424dae
Showing with 7 additions and 6 deletions.
  1. +7 −6 python/pyplugin_installer/
@@ -30,12 +30,12 @@ def __init__(self, plugin_name, to_install, to_upgrade, not_found, parent=None):
:param plugin_name: the name of the parent plugin
:type plugin_name: str
:param to_install: list of plugin IDs that needs to be installed
:type to_install: list
:param to_upgrade: list of plugin IDs that needs to be upgraded
:type to_upgrade: list
:param not_found: list of plugin IDs that are not found (unavailable)
:type not_found: list
:param to_install: dict of plugins that need to be installed, keyed by plugin name
:type to_install: dict
:param to_upgrade: dict of plugins that need to be upgraded, keyed by plugin name
:type to_upgrade: dict
:param not_found: dict of plugins that were not found (unavailable), keyed by plugin name
:type not_found: dict
:param parent: parent object, defaults to None
:param parent: QWidget, optional
@@ -62,6 +62,7 @@ def _make_row(data, i, name):
widget.action = data['action']
widget.use_stable_version = data['use_stable_version']
self.pluginList.setCellWidget(i, 0, widget)
widget = QtWidgets.QTableWidgetItem(_display(data['version_installed']))
widget.setTextAlignment(QtCore.Qt.AlignHCenter | QtCore.Qt.AlignVCenter)
self.pluginList.setItem(i, 1, widget)

0 comments on commit 10633af

Please sign in to comment.