[Bf-blender-cvs] [9c82a04] master: UI Tweak: Display labels for Push Down and Stash

Joshua Leung noreply at git.blender.org
Sat Feb 28 14:37:16 CET 2015


Commit: 9c82a0478fbf69a52ef1614d837c9fad6b181adf
Author: Joshua Leung
Date:   Sat Feb 28 11:53:17 2015 +1300
Branches: master
https://developer.blender.org/rB9c82a0478fbf69a52ef1614d837c9fad6b181adf

UI Tweak: Display labels for Push Down and Stash

I'm still not sure which version is better, but I suspect that with the labels,
this might help users figure this out more than if they were just unlabelled
icon buttons...

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

M	release/scripts/startup/bl_ui/space_dopesheet.py

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

diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py
index f69ab3a..5358670 100644
--- a/release/scripts/startup/bl_ui/space_dopesheet.py
+++ b/release/scripts/startup/bl_ui/space_dopesheet.py
@@ -125,8 +125,8 @@ class DOPESHEET_HT_header(Header):
             layout.template_ID(st, "action", new="action.new")
 
             row = layout.row(align=True)
-            row.operator("action.push_down", text="", icon='NLA_PUSHDOWN')
-            row.operator("action.stash", text="", icon='FREEZE')
+            row.operator("action.push_down", text="Push Down", icon='NLA_PUSHDOWN')
+            row.operator("action.stash", text="Stash", icon='FREEZE')
 
         # Grease Pencil mode doesn't need snapping, as it's frame-aligned only
         if st.mode != 'GPENCIL':




More information about the Bf-blender-cvs mailing list