[Bf-extensions-cvs] [6501c6c] master: Fix Print3D Toolbox: fix button alignment

Campbell Barton noreply at git.blender.org
Tue Nov 26 08:14:07 CET 2013


Commit: 6501c6cadfef1804dfa4b7aa2eb208207570a42a
Author: Campbell Barton
Date:   Mon Nov 25 17:17:28 2013 +1100
http://developer.blender.org/rBA6501c6cadfef1804dfa4b7aa2eb208207570a42a

Fix Print3D Toolbox: fix button alignment

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

M	object_print3d_utils/ui.py

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

diff --git a/object_print3d_utils/ui.py b/object_print3d_utils/ui.py
index 84c3b3f..58b8497 100644
--- a/object_print3d_utils/ui.py
+++ b/object_print3d_utils/ui.py
@@ -80,19 +80,19 @@ class Print3DToolBar:
         col = layout.column(align=True)
         col.operator("mesh.print3d_check_solid", text="Solid")
         col.operator("mesh.print3d_check_intersect", text="Intersections")
-        rowsub = col.row()
+        rowsub = col.row(align=True)
         rowsub.operator("mesh.print3d_check_degenerate", text="Degenerate")
         rowsub.prop(print_3d, "threshold_zero", text="")
-        rowsub = col.row()
+        rowsub = col.row(align=True)
         rowsub.operator("mesh.print3d_check_distort", text="Distorted")
         rowsub.prop(print_3d, "angle_distort", text="")
-        rowsub = col.row()
+        rowsub = col.row(align=True)
         rowsub.operator("mesh.print3d_check_thick", text="Thickness")
         rowsub.prop(print_3d, "thickness_min", text="")
-        rowsub = col.row()
+        rowsub = col.row(align=True)
         rowsub.operator("mesh.print3d_check_sharp", text="Edge Sharp")
         rowsub.prop(print_3d, "angle_sharp", text="")
-        rowsub = col.row()
+        rowsub = col.row(align=True)
         rowsub.operator("mesh.print3d_check_overhang", text="Overhang")
         rowsub.prop(print_3d, "angle_overhang", text="")
         col = layout.column()
@@ -102,7 +102,7 @@ class Print3DToolBar:
         row.label("Cleanup:")
         col = layout.column(align=True)
         col.operator("mesh.print3d_clean_isolated", text="Isolated")
-        rowsub = col.row()
+        rowsub = col.row(align=True)
         rowsub.operator("mesh.print3d_clean_distorted", text="Distorted")
         rowsub.prop(print_3d, "angle_distort", text="")
         # XXX TODO



More information about the Bf-extensions-cvs mailing list