[Bf-blender-cvs] [5e2a60a0034] master: Fix T81171: Show Alerts at Center in Statusbar

Harley Acheson noreply at git.blender.org
Wed Oct 7 17:41:53 CEST 2020


Commit: 5e2a60a0034dc7543c868328cf971c442a0b33fb
Author: Harley Acheson
Date:   Wed Oct 7 08:23:52 2020 -0700
Branches: master
https://developer.blender.org/rB5e2a60a0034dc7543c868328cf971c442a0b33fb

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

===================================================================

M	release/scripts/startup/bl_ui/space_statusbar.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_statusbar.py b/release/scripts/startup/bl_ui/space_statusbar.py
index cbf72a7bc59..616a3ab45fd 100644
--- a/release/scripts/startup/bl_ui/space_statusbar.py
+++ b/release/scripts/startup/bl_ui/space_statusbar.py
@@ -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,



More information about the Bf-blender-cvs mailing list