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:
authorPablo Vazquez <venomgfx@gmail.com>2018-07-02 15:49:01 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-07-02 15:54:20 +0300
commit69e437ba2292c10307054d7763401f5b51ebf2d7 (patch)
tree0aeb91c0a9d995b1f184e0990cd42879a7aed27b /release/scripts/startup/bl_ui/space_text.py
parent79c8f5ac0d3f75a10e9d852fb4640bbc517ce505 (diff)
UI: Header consistency for Text editor
Diffstat (limited to 'release/scripts/startup/bl_ui/space_text.py')
-rw-r--r--release/scripts/startup/bl_ui/space_text.py10
1 files changed, 5 insertions, 5 deletions
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"))