UI: Move the 'Resolve Conflict' button closer to the text data-block
Moves the Text Editor 'Resolve Conflict' button closer to data-block selector and with 'Question' icon. Differential Revision: https://developer.blender.org/D9266 Reviewed by Hans Goudey
This commit is contained in:

committed by
Harley Acheson

parent
024b65b5e5
commit
d28676d89a
@@ -35,12 +35,12 @@ class TEXT_HT_header(Header):
|
|||||||
|
|
||||||
TEXT_MT_editor_menus.draw_collapsible(context, layout)
|
TEXT_MT_editor_menus.draw_collapsible(context, layout)
|
||||||
|
|
||||||
|
layout.separator_spacer()
|
||||||
|
|
||||||
if text and text.is_modified:
|
if text and text.is_modified:
|
||||||
row = layout.row(align=True)
|
row = layout.row(align=True)
|
||||||
row.alert = True
|
row.alert = True
|
||||||
row.operator("text.resolve_conflict", text="", icon='HELP')
|
row.operator("text.resolve_conflict", text="", icon='QUESTION')
|
||||||
|
|
||||||
layout.separator_spacer()
|
|
||||||
|
|
||||||
row = layout.row(align=True)
|
row = layout.row(align=True)
|
||||||
row.template_ID(st, "text", new="text.new",
|
row.template_ID(st, "text", new="text.new",
|
||||||
|
Reference in New Issue
Block a user