Used different layout

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Petr Kalis 2025-07-10 11:39:01 +02:00 committed by GitHub
parent e880b29838
commit c35c86440b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -101,14 +101,9 @@ class PushToContextSelectWindow(QtWidgets.QWidget):
header_layout = QtWidgets.QHBoxLayout(header_widget)
header_layout.setContentsMargins(0, 0, 0, 0)
header_layout.addWidget(header_label)
header_layout.addStretch()
library_only_layout = QtWidgets.QHBoxLayout()
library_only_layout.addWidget(library_only_label)
library_only_layout.addWidget(library_only_checkbox)
library_only_layout.setSpacing(5) # or whatever spacing you prefer
header_layout.addLayout(library_only_layout)
header_layout.addStretch(1)
header_layout.addWidget(library_only_label, 0)
header_layout.addWidget(library_only_checkbox, 0)
main_splitter = QtWidgets.QSplitter(
QtCore.Qt.Horizontal, main_context_widget