From 9ea645862cfb967376bb7ae2c7f7ef8a5fe90637 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 14 Dec 2018 09:47:10 +1100 Subject: Preferences: add option for header position Sets the header position for newly created windows with few exceptions (preferences is always bottom, file-selector is always top). --- source/blender/editors/space_userpref/space_userpref.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_userpref') diff --git a/source/blender/editors/space_userpref/space_userpref.c b/source/blender/editors/space_userpref/space_userpref.c index 87da461f269..9a876f9d925 100644 --- a/source/blender/editors/space_userpref/space_userpref.c +++ b/source/blender/editors/space_userpref/space_userpref.c @@ -73,6 +73,7 @@ static SpaceLink *userpref_new(const ScrArea *UNUSED(area), const Scene *UNUSED( BLI_addtail(&spref->regionbase, ar); ar->regiontype = RGN_TYPE_HEADER; + /* Ignore user preference "USER_HEADER_BOTTOM" here (always show bottom for new types). */ ar->alignment = RGN_ALIGN_BOTTOM; /* main region */ -- cgit v1.2.3