forked from bartvdbraak/blender
UI: Header consistency for Text editor
This commit is contained in:
parent
79c8f5ac0d
commit
69e437ba22
@ -41,11 +41,6 @@ class TEXT_HT_header(Header):
|
|||||||
sub.alert = True
|
sub.alert = True
|
||||||
sub.operator("text.resolve_conflict", text="", icon='HELP')
|
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()
|
layout.separator_spacer()
|
||||||
|
|
||||||
row = layout.row(align=True)
|
row = layout.row(align=True)
|
||||||
@ -53,6 +48,11 @@ class TEXT_HT_header(Header):
|
|||||||
|
|
||||||
layout.separator_spacer()
|
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:
|
if text:
|
||||||
is_osl = text.name.endswith((".osl", ".osl"))
|
is_osl = text.name.endswith((".osl", ".osl"))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user