I have a button that launches a popup.
I would like to know if I can center in the middle of the screen the popup.
Thanks.
def invoke(self, context, event):
return context.window_manager.invoke_props_dialog(self, width=400)
I have a button that launches a popup.
I would like to know if I can center in the middle of the screen the popup.
Thanks.
def invoke(self, context, event):
return context.window_manager.invoke_props_dialog(self, width=400)
Did you finally find any solution?