Fix T81171: Show Alerts at Center in Statusbar

Move position of Alerts and Progress bar back to the center of the Statusbar.

Differential Revision: https://developer.blender.org/D9118

Reviewed by Brecht Van Lommel
This commit is contained in:
Harley Acheson 2020-10-07 08:23:52 -07:00
parent 7c373555fd
commit 5e2a60a003
Notes: blender-bot 2023-02-13 21:02:13 +01:00
Referenced by issue #81171, Status Bar - Crucial Updates Appear Offscreen
1 changed files with 6 additions and 7 deletions

View File

@ -31,7 +31,12 @@ class STATUSBAR_HT_header(Header):
layout.separator_spacer()
# Nothing in the center.
# Messages
layout.template_reports_banner()
# Progress Bar
layout.template_running_jobs()
layout.separator_spacer()
row = layout.row()
@ -40,12 +45,6 @@ class STATUSBAR_HT_header(Header):
# Stats & Info
row.label(text=context.screen.statusbar_info(), translate=False)
# Messages
row.template_reports_banner()
# Progress Bar
row.template_running_jobs()
classes = (
STATUSBAR_HT_header,