[Bf-blender-cvs] [69e437ba229] blender2.8: UI: Header consistency for Text editor

Pablo Vazquez noreply at git.blender.org
Mon Jul 2 14:57:29 CEST 2018


Commit: 69e437ba2292c10307054d7763401f5b51ebf2d7
Author: Pablo Vazquez
Date:   Mon Jul 2 14:49:01 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB69e437ba2292c10307054d7763401f5b51ebf2d7

UI: Header consistency for Text editor

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py
index aa6f8ce3b00..95124d2be83 100644
--- a/release/scripts/startup/bl_ui/space_text.py
+++ b/release/scripts/startup/bl_ui/space_text.py
@@ -41,11 +41,6 @@ class TEXT_HT_header(Header):
             sub.alert = True
             sub.operator("text.resolve_conflict", text="", icon='HELP')
 
-        row = layout.row(align=True)
-        row.prop(st, "show_line_numbers", text="")
-        row.prop(st, "show_word_wrap", text="")
-        row.prop(st, "show_syntax_highlight", text="")
-
         layout.separator_spacer()
 
         row = layout.row(align=True)
@@ -53,6 +48,11 @@ class TEXT_HT_header(Header):
 
         layout.separator_spacer()
 
+        row = layout.row(align=True)
+        row.prop(st, "show_line_numbers", text="")
+        row.prop(st, "show_word_wrap", text="")
+        row.prop(st, "show_syntax_highlight", text="")
+
         if text:
             is_osl = text.name.endswith((".osl", ".osl"))



More information about the Bf-blender-cvs mailing list