diff --git a/soitool/modules/module_code_phrase.py b/soitool/modules/module_code_phrase.py index 098490c49ea2efd9eac8f9a65320290aee09e03d..40ba032ba438e5e916d6fb6da1dc2efddf439944 100644 --- a/soitool/modules/module_code_phrase.py +++ b/soitool/modules/module_code_phrase.py @@ -86,6 +86,9 @@ class CodePhraseModule(ModuleBase, QWidget, metaclass=Meta): self.table.setHorizontalHeaderItem(0, QTableWidgetItem("Kode")) self.table.setHorizontalHeaderItem(1, QTableWidgetItem("Frase")) self.table.horizontalHeader().setStyleSheet("font-weight: bold") + + # To ensure table is initially larger than title + self.table.horizontalHeader().setMinimumSectionSize(100) self.table.verticalHeader().hide() # Initialize either default values or from data. Either way from this