--- a/CondaInterface/CondaInfoDialog.py Mon Feb 11 20:01:07 2019 +0100 +++ b/CondaInterface/CondaInfoDialog.py Tue Feb 12 19:37:50 2019 +0100 @@ -43,6 +43,7 @@ if "conda_build_version" in infoDict: self.condaBuildVersionLabel.setText( infoDict["conda_build_version"]) + # TODO: add 'conda_env_version if "python_version" in infoDict: self.pythonVersionLabel.setText( infoDict["python_version"]) @@ -60,6 +61,9 @@ else: self.activeEnvironmentEdit.setText( self.tr("None")) + else: + self.activeEnvironmentEdit.setText( + self.tr("Unknown")) if "rc_path" in infoDict: self.userConfigEdit.setText( infoDict["rc_path"]) @@ -92,6 +96,7 @@ if "platform" in infoDict: self.platformLabel.setText( infoDict["platform"]) + # TODO: suppress user_agent, UID/GID and netrc_file if not present if "user_agent" in infoDict: self.useragentEdit.setText( infoDict["user_agent"]) @@ -108,3 +113,6 @@ if "offline" in infoDict: self.offlineCheckBox.setChecked( infoDict["offline"]) + + msh = self.minimumSizeHint() + self.resize(max(self.width(), msh.width()), msh.height())