mirror of https://github.com/Syncplay/syncplay
Adjust QSplitter style
This looks much better when using PySide6 6.7.2.
This commit is contained in:
parent
9450c9899c
commit
49a402e93e
|
@ -1510,6 +1510,8 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||
if isMacOS(): window.userlistLayout.setContentsMargins(3, 0, 3, 0)
|
||||
|
||||
window.listSplit = QtWidgets.QSplitter(Qt.Vertical, self)
|
||||
window.listSplit.setHandleWidth(6)
|
||||
window.listSplit.setStyle(QtWidgets.QStyleFactory.create("fusion"))
|
||||
window.listSplit.addWidget(window.userlistFrame)
|
||||
window.listLayout.addWidget(window.listSplit)
|
||||
window.roomsCombobox = QtWidgets.QComboBox(self)
|
||||
|
@ -1544,8 +1546,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||
|
||||
window.topSplit.addWidget(window.outputFrame)
|
||||
window.topSplit.addWidget(window.listFrame)
|
||||
window.topSplit.setHandleWidth(6)
|
||||
window.topSplit.setStretchFactor(0, 4)
|
||||
window.topSplit.setStretchFactor(1, 5)
|
||||
window.topSplit.setStyle(QtWidgets.QStyleFactory.create("fusion"))
|
||||
window.mainLayout.addWidget(window.topSplit)
|
||||
window.topSplit.setSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
|
||||
|
||||
|
|
Loading…
Reference in New Issue