From 0313088c15faac2679776d236cc1cf0141cb505e Mon Sep 17 00:00:00 2001 From: NoDRM Date: Mon, 15 Nov 2021 10:56:26 +0100 Subject: [PATCH] Make keys fit into listbox --- DeDRM_plugin/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DeDRM_plugin/config.py b/DeDRM_plugin/config.py index 3d0f321..22eeb94 100755 --- a/DeDRM_plugin/config.py +++ b/DeDRM_plugin/config.py @@ -290,6 +290,8 @@ class ManageKeysDialog(QDialog): for key in self.plugin_keys: self.listy.addItem(QListWidgetItem(key)) + self.listy.setMinimumWidth(self.listy.sizeHintForColumn(0) + 20) + def add_key(self): d = self.create_key(self) d.exec_()