[Bf-blender-cvs] [dd6d1ac32c0] userpref_redesign: Shrink horizontal size of Preferences Window
Julian Eisel
noreply at git.blender.org
Thu Dec 20 02:14:05 CET 2018
Commit: dd6d1ac32c01aade1714beb1cd1d55efaea3fb51
Author: Julian Eisel
Date: Thu Dec 20 01:49:42 2018 +0100
Branches: userpref_redesign
https://developer.blender.org/rBdd6d1ac32c01aade1714beb1cd1d55efaea3fb51
Shrink horizontal size of Preferences Window
===================================================================
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 20d83b0a64b..5133f3fba67 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -4353,8 +4353,8 @@ static void SCREEN_OT_back_to_previous(struct wmOperatorType *ot)
static int userpref_show_invoke(bContext *C, wmOperator *op, const wmEvent *event)
{
- int sizex = (800 + UI_NAVIGATION_REGION_WIDTH) * UI_DPI_FAC;
- int sizey = 500 * UI_DPI_FAC;
+ int sizex = (500 + UI_NAVIGATION_REGION_WIDTH) * UI_DPI_FAC;
+ int sizey = 520 * UI_DPI_FAC;
/* changes context! */
if (WM_window_open_temp(C, event->x, event->y, sizex, sizey, WM_WINDOW_USERPREFS) != NULL) {
More information about the Bf-blender-cvs
mailing list