Fix some popups being too small on retina display, among them the new image dialog.
This commit is contained in:
@@ -1777,7 +1777,7 @@ static int image_new_exec(bContext *C, wmOperator *op)
|
||||
/* XXX Note: the WM_operator_props_dialog_popup() doesn't work for uiIDContextProperty(), image is not being that way */
|
||||
static int image_new_invoke(bContext *C, wmOperator *op, wmEvent *UNUSED(event))
|
||||
{
|
||||
return WM_operator_props_dialog_popup(C, op, 300, 100);
|
||||
return WM_operator_props_dialog_popup(C, op, 15*UI_UNIT_X, 5*UI_UNIT_Y);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user