UI: Header consistency for Text editor

This commit is contained in:
Pablo Vazquez 2018-07-02 14:49:01 +02:00
parent 79c8f5ac0d
commit 69e437ba22

@ -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"))