fix: change resize mode to interactive

This commit is contained in:
perl_d authored and David Perl committed 2026-04-21 08:38:24 +02:00
1 parent 2e8f43fcac
commit a5db2dc340
1 file changed
+1 -2
@@ -335,8 +335,7 @@ class BecLogTableView(QTableView):
def __init__(self, *args, max_message_width: int = 1000, **kwargs) -> None:
super().__init__(*args, **kwargs)
header = QHeaderView(Qt.Orientation.Horizontal, parent=self)
header.setSectionResizeMode(QHeaderView.ResizeMode.ResizeToContents)
header.setSectionResizeMode(2, QHeaderView.ResizeMode.Stretch)
header.setSectionResizeMode(QHeaderView.ResizeMode.Interactive)
header.setStretchLastSection(True)
header.setMaximumSectionSize(max_message_width)
self.setHorizontalHeader(header)