Some Clip Editor interface clean-ups:
[blender.git] / release / scripts / startup / bl_ui / space_clip.py
index 5c98cafb732b964c9b15d4126232fd28b966b97e..8d55d678c5d06bbbd4ecc1356c0af333aba3b484 100644 (file)
@@ -62,7 +62,7 @@ class CLIP_HT_header(Header):
                 r = active_object.reconstruction
 
                 if r.is_valid and sc.view == 'CLIP':
-                    layout.label(text="Average solve error: %.4f" %
+                    layout.label(text="Solve error: %.4f" %
                                  (r.average_error))
             elif sc.view == 'GRAPH':
                 layout.prop(sc, "view", text="", expand=True)
@@ -89,9 +89,9 @@ class CLIP_HT_header(Header):
                 row.prop(dopesheet, "show_only_selected", text="")
                 row.prop(dopesheet, "show_hidden", text="")
 
-                layout.label(text="Sort by:")
-                layout.prop(dopesheet, "sort_method", text="")
-                layout.prop(dopesheet, "use_invert_sort", text="Invert")
+                row = layout.row(align=True)
+                row.prop(dopesheet, "sort_method", text="")
+                row.prop(dopesheet, "use_invert_sort", text="Invert", toggle=True)
         else:
             layout.prop(sc, "view", text="", expand=True)