From e39737f166bd8498c3759675bb5457c2bf58f07f Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 15 May 2019 16:17:23 +0200 Subject: UI: make sidebars in 3D view and other editors a little wider and consistent --- source/blender/editors/space_action/space_action.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_action/space_action.c') diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c index ad4346d882c..972f19bb643 100644 --- a/source/blender/editors/space_action/space_action.c +++ b/source/blender/editors/space_action/space_action.c @@ -45,9 +45,9 @@ #include "WM_types.h" #include "WM_message.h" +#include "UI_interface.h" #include "UI_resources.h" #include "UI_view2d.h" -#include "UI_interface.h" #include "ED_space_api.h" #include "ED_screen.h" @@ -899,7 +899,7 @@ void ED_spacetype_action(void) /* regions: UI buttons */ art = MEM_callocN(sizeof(ARegionType), "spacetype action region"); art->regionid = RGN_TYPE_UI; - art->prefsizex = 200; + art->prefsizex = UI_SIDEBAR_PANEL_WIDTH; art->keymapflag = ED_KEYMAP_UI; art->listener = action_region_listener; art->init = action_buttons_area_init; -- cgit v1.2.3