[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43194] trunk/blender/release/scripts/ startup/bl_ui/space_view3d.py: 3DView / Properties Region:

Thomas Dinges blender at dingto.org
Fri Jan 6 02:14:58 CET 2012


Revision: 43194
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43194
Author:   dingto
Date:     2012-01-06 01:14:57 +0000 (Fri, 06 Jan 2012)
Log Message:
-----------
3DView / Properties Region:
* Simplify UI inside the Transform Orientation Panel. 

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_view3d.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d.py	2012-01-06 01:07:13 UTC (rev 43193)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d.py	2012-01-06 01:14:57 UTC (rev 43194)
@@ -2369,13 +2369,14 @@
         view = context.space_data
         orientation = view.current_orientation
 
-        col = layout.column()
-        col.prop(view, "transform_orientation")
-        col.operator("transform.create_orientation", text="Create")
+        row = layout.row(align=True)
+        row.prop(view, "transform_orientation", text="")
+        row.operator("transform.create_orientation", text="", icon='ZOOMIN')
 
         if orientation:
-            col.prop(orientation, "name")
-            col.operator("transform.delete_orientation", text="Delete")
+            row = layout.row(align=True)
+            row.prop(orientation, "name", text="")
+            row.operator("transform.delete_orientation", text="", icon="X")
 
 
 class VIEW3D_PT_etch_a_ton(Panel):




More information about the Bf-blender-cvs mailing list