From 69e437ba2292c10307054d7763401f5b51ebf2d7 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Mon, 2 Jul 2018 14:49:01 +0200 Subject: UI: Header consistency for Text editor --- release/scripts/startup/bl_ui/space_text.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '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")) -- cgit v1.2.3