forked from qt-creator/qt-creator
QmlDesigner: Fix effect maker popup doesn't close on focus out on mac
Fixes: QDS-10515 Change-Id: Icaef0532bd2427e9cac326f40143e158ca8c5e97 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -47,7 +47,7 @@ StudioControls.ComboBox {
|
|||||||
|
|
||||||
width: row.width + 2 // 2: scrollView left and right 1px margins
|
width: row.width + 2 // 2: scrollView left and right 1px margins
|
||||||
height: Math.min(800, Math.min(row.height + 2, Screen.height - y - 40)) // 40: some bottom margin to cover OS bottom toolbar
|
height: Math.min(800, Math.min(row.height + 2, Screen.height - y - 40)) // 40: some bottom margin to cover OS bottom toolbar
|
||||||
flags: Qt.Popup | Qt.FramelessWindowHint
|
flags: Qt.Dialog | Qt.FramelessWindowHint
|
||||||
|
|
||||||
onActiveFocusItemChanged: {
|
onActiveFocusItemChanged: {
|
||||||
if (!window.activeFocusItem && !root.indicator.hover && root.popup.opened)
|
if (!window.activeFocusItem && !root.indicator.hover && root.popup.opened)
|
||||||
|
@@ -67,7 +67,7 @@ StudioControls.ComboBox {
|
|||||||
|
|
||||||
width: col.width + 2 // 2: scrollView left and right 1px margins
|
width: col.width + 2 // 2: scrollView left and right 1px margins
|
||||||
height: Math.min(800, Math.min(col.height + 2, Screen.height - y - 40)) // 40: some bottom margin to cover OS bottom toolbar
|
height: Math.min(800, Math.min(col.height + 2, Screen.height - y - 40)) // 40: some bottom margin to cover OS bottom toolbar
|
||||||
flags: Qt.Popup | Qt.FramelessWindowHint
|
flags: Qt.Dialog | Qt.FramelessWindowHint
|
||||||
|
|
||||||
onActiveFocusItemChanged: {
|
onActiveFocusItemChanged: {
|
||||||
if (!window.activeFocusItem && !root.indicator.hover && root.popup.opened)
|
if (!window.activeFocusItem && !root.indicator.hover && root.popup.opened)
|
||||||
|
Reference in New Issue
Block a user