diff options
author | Pablo Vazquez <venomgfx@gmail.com> | 2018-07-02 15:49:01 +0300 |
---|---|---|
committer | Pablo Vazquez <venomgfx@gmail.com> | 2018-07-02 15:54:20 +0300 |
commit | 69e437ba2292c10307054d7763401f5b51ebf2d7 (patch) | |
tree | 0aeb91c0a9d995b1f184e0990cd42879a7aed27b /release/scripts/startup | |
parent | 79c8f5ac0d3f75a10e9d852fb4640bbc517ce505 (diff) |
UI: Header consistency for Text editor
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/space_text.py | 10 |
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")) |