use space more efficiently for normal mesh panel buttons (icons for face/vert normal)
authorCampbell Barton <ideasman42@gmail.com>
Tue, 10 Apr 2012 11:36:19 +0000 (11:36 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 10 Apr 2012 11:36:19 +0000 (11:36 +0000)
release/scripts/startup/bl_ui/space_view3d.py

index 6b09f74ec4a1eb33e7f7ebfbb6a48139de6670b9..8240841d5ed370849b75bf7fd4f8f135778d4f00 100644 (file)
@@ -2371,9 +2371,10 @@ class VIEW3D_PT_view3d_meshdisplay(Panel):
 
         col.separator()
         col.label(text="Normals:")
-        col.prop(mesh, "show_normal_face", text="Face")
-        col.prop(mesh, "show_normal_vertex", text="Vertex")
-        col.prop(context.scene.tool_settings, "normal_size", text="Normal Size")
+        row = col.row(align=True)
+        row.prop(mesh, "show_normal_face", text="", icon='VERTEXSEL')
+        row.prop(mesh, "show_normal_vertex", text="", icon='FACESEL')
+        row.prop(context.scene.tool_settings, "normal_size", text="Size")
 
         col.separator()
         col.label(text="Numerics:")