UI: adjust header alignment
- User preferences header at the bottom. - Action header at the top. Now all editors accessible from the menu have their header at the top, default layout for the timeline remains at the bottom.
This commit is contained in:
parent
958d24ae0f
commit
0c0811829f
|
@ -116,7 +116,7 @@ static SpaceLink *action_new(const ScrArea *sa, const Scene *scene)
|
|||
|
||||
BLI_addtail(&saction->regionbase, ar);
|
||||
ar->regiontype = RGN_TYPE_HEADER;
|
||||
ar->alignment = RGN_ALIGN_BOTTOM;
|
||||
ar->alignment = RGN_ALIGN_TOP;
|
||||
|
||||
/* channel list region */
|
||||
ar = MEM_callocN(sizeof(ARegion), "channel region for action");
|
||||
|
|
|
@ -64,7 +64,7 @@ static SpaceLink *userpref_new(const ScrArea *UNUSED(area), const Scene *UNUSED(
|
|||
|
||||
BLI_addtail(&spref->regionbase, ar);
|
||||
ar->regiontype = RGN_TYPE_HEADER;
|
||||
ar->alignment = RGN_ALIGN_TOP;
|
||||
ar->alignment = RGN_ALIGN_BOTTOM;
|
||||
|
||||
/* main region */
|
||||
ar = MEM_callocN(sizeof(ARegion), "main region for userpref");
|
||||
|
|
Loading…
Reference in New Issue