RibbonWindow: Fix window centralize in macOS.
This commit is contained in:
parent
006f36c0ce
commit
8c10f7a463
|
@ -46,8 +46,8 @@ Window {
|
|||
windowAgent.setHitTestVisible(titleBar.left_container)
|
||||
windowAgent.setHitTestVisible(titleBar.right_container)
|
||||
windowAgent.setTitleBar(titleBar)
|
||||
windowAgent.centralize()
|
||||
window.visible = true
|
||||
windowAgent.centralize()
|
||||
windowAgent.setWindowAttribute("dark-mode", RibbonTheme.dark_mode)
|
||||
if (Qt.platform.os === 'windows')
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue