forked from openlp/openlp
Make tabbed docks look better by using document mode
This commit is contained in:
parent
1f9c0a31f8
commit
1a573315db
@ -92,6 +92,8 @@ class Ui_MainWindow(object):
|
|||||||
main_window.setObjectName('MainWindow')
|
main_window.setObjectName('MainWindow')
|
||||||
main_window.setWindowIcon(build_icon(':/icon/openlp-logo.svg'))
|
main_window.setWindowIcon(build_icon(':/icon/openlp-logo.svg'))
|
||||||
main_window.setDockNestingEnabled(True)
|
main_window.setDockNestingEnabled(True)
|
||||||
|
if is_macosx():
|
||||||
|
main_window.setDocumentMode(True)
|
||||||
# Set up the main container, which contains all the other form widgets.
|
# Set up the main container, which contains all the other form widgets.
|
||||||
self.main_content = QtGui.QWidget(main_window)
|
self.main_content = QtGui.QWidget(main_window)
|
||||||
self.main_content.setObjectName('main_content')
|
self.main_content.setObjectName('main_content')
|
||||||
|
Loading…
Reference in New Issue
Block a user