Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Acheson <harley.acheson@gmail.com>2020-10-07 18:23:52 +0300
committerHarley Acheson <harley.acheson@gmail.com>2020-10-07 18:41:44 +0300
commit5e2a60a0034dc7543c868328cf971c442a0b33fb (patch)
tree74270f9410e4396134c2df62a9d30458b1b5bbca /release/scripts/startup/bl_ui/space_statusbar.py
parent7c373555fd5de16905f52f0b60d46434ea3cbac6 (diff)
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
Diffstat (limited to 'release/scripts/startup/bl_ui/space_statusbar.py')
-rw-r--r--release/scripts/startup/bl_ui/space_statusbar.py13
1 files changed, 6 insertions, 7 deletions
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,