diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2019-08-18 16:16:59 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2019-08-18 16:21:18 +0300 |
commit | 935d62245871cb5476fc1e3003f905a440198a49 (patch) | |
tree | 85dcd87f746f06da554c21e4351d035900d42e47 /source/blender/editors/space_file/space_file.c | |
parent | 8209f25c3b08f726a221cbcbcfa48dbea597c772 (diff) |
Add right sidebar region for operator properties
This always shows up right now. Hiding it correctly still has to be
done.
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r-- | source/blender/editors/space_file/space_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index 3159561eda7..f5c381716f9 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -89,7 +89,7 @@ static SpaceLink *file_new(const ScrArea *UNUSED(area), const Scene *UNUSED(scen ar = MEM_callocN(sizeof(ARegion), "tool props region for file"); BLI_addtail(&sfile->regionbase, ar); ar->regiontype = RGN_TYPE_TOOL_PROPS; - ar->alignment = RGN_ALIGN_BOTTOM | RGN_SPLIT_PREV; + ar->alignment = RGN_ALIGN_RIGHT; /* Execute region */ ar = MEM_callocN(sizeof(ARegion), "execute region for file"); @@ -728,8 +728,8 @@ void ED_spacetype_file(void) /* regions: tool properties */ art = MEM_callocN(sizeof(ARegionType), "spacetype file operator region"); art->regionid = RGN_TYPE_TOOL_PROPS; - art->prefsizex = 0; - art->prefsizey = 360; + art->prefsizex = 240; + art->prefsizey = 60; art->keymapflag = ED_KEYMAP_UI; art->listener = file_tools_region_listener; art->init = file_tools_region_init; |