[Bf-blender-cvs] [d28676d89a7] master: UI: Move the 'Resolve Conflict' button closer to the text data-block

Yevgeny Makarov noreply at git.blender.org
Wed Oct 28 01:02:10 CET 2020


Commit: d28676d89a79e02745ebced89152f25dbfd71285
Author: Yevgeny Makarov
Date:   Tue Oct 27 16:30:37 2020 -0700
Branches: master
https://developer.blender.org/rBd28676d89a79e02745ebced89152f25dbfd71285

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

===================================================================

M	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 f1326823fe8..c937882bd6e 100644
--- a/release/scripts/startup/bl_ui/space_text.py
+++ b/release/scripts/startup/bl_ui/space_text.py
@@ -35,12 +35,12 @@ class TEXT_HT_header(Header):
 
         TEXT_MT_editor_menus.draw_collapsible(context, layout)
 
+        layout.separator_spacer()
+
         if text and text.is_modified:
             row = layout.row(align=True)
             row.alert = True
-            row.operator("text.resolve_conflict", text="", icon='HELP')
-
-        layout.separator_spacer()
+            row.operator("text.resolve_conflict", text="", icon='QUESTION')
 
         row = layout.row(align=True)
         row.template_ID(st, "text", new="text.new",



More information about the Bf-blender-cvs mailing list