Fix some popups being too small on retina display, among them the new image dialog.

This commit is contained in:
2013-02-18 15:08:27 +00:00
parent b0c6f87e2d
commit 5ba0eb0ae5
4 changed files with 4 additions and 4 deletions

View File

@@ -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);
}