[Bf-blender-cvs] [66a3142cfd3] userpref_redesign: Go back to old size of UserPref/Settings window

Julian Eisel noreply at git.blender.org
Wed Feb 28 17:55:45 CET 2018


Commit: 66a3142cfd3fceb73262fda6d24e2f70753921f4
Author: Julian Eisel
Date:   Wed Feb 28 17:52:27 2018 +0100
Branches: userpref_redesign
https://developer.blender.org/rB66a3142cfd3fceb73262fda6d24e2f70753921f4

Go back to old size of UserPref/Settings window

If we split up and reorganize sections a bit, the current window size should be
totally fine. Bringing it back for now.

Reverts rB93edc452920870b.

===================================================================

M	source/blender/editors/screen/screen_ops.c

===================================================================

diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index 56593486c08..ba769cfac25 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -4021,8 +4021,8 @@ static void SCREEN_OT_back_to_previous(struct wmOperatorType *ot)
 
 static int settings_show_invoke(bContext *C, wmOperator *op, const wmEvent *event)
 {
-	const int sizex = 1024 * UI_DPI_FAC;
-	const int sizey = 614 * UI_DPI_FAC;
+	const int sizex = 800 * UI_DPI_FAC;
+	const int sizey = 480 * UI_DPI_FAC;
 
 	/* changes context! */
 	if (WM_window_open_temp(C, event->x, event->y, sizex, sizey, WM_WINDOW_SETTINGS) != NULL) {



More information about the Bf-blender-cvs mailing list