This commit is contained in:
恍兮惚兮 2024-05-21 20:14:19 +08:00
parent 7788e04b00
commit 4271d7529e

View File

@ -48,6 +48,7 @@ class TabWidget(QWidget):
super(TabWidget, self).__init__(parent) super(TabWidget, self).__init__(parent)
layout = QHBoxLayout() layout = QHBoxLayout()
layout.setContentsMargins(0, 0, 0, 0) layout.setContentsMargins(0, 0, 0, 0)
layout.setSpacing(0)
self.setLayout(layout) self.setLayout(layout)
self.list_widget = QListWidget(self) self.list_widget = QListWidget(self)
self.tab_widget = QTabWidget(self) self.tab_widget = QTabWidget(self)