Skip to content
Snippets Groups Projects
Commit 6501c6ca authored by Campbell Barton's avatar Campbell Barton
Browse files

Fix Print3D Toolbox: fix button alignment

parent 71ce07d5
No related branches found
No related tags found
No related merge requests found
...@@ -80,19 +80,19 @@ class Print3DToolBar: ...@@ -80,19 +80,19 @@ class Print3DToolBar:
col = layout.column(align=True) col = layout.column(align=True)
col.operator("mesh.print3d_check_solid", text="Solid") col.operator("mesh.print3d_check_solid", text="Solid")
col.operator("mesh.print3d_check_intersect", text="Intersections") 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.operator("mesh.print3d_check_degenerate", text="Degenerate")
rowsub.prop(print_3d, "threshold_zero", text="") rowsub.prop(print_3d, "threshold_zero", text="")
rowsub = col.row() rowsub = col.row(align=True)
rowsub.operator("mesh.print3d_check_distort", text="Distorted") rowsub.operator("mesh.print3d_check_distort", text="Distorted")
rowsub.prop(print_3d, "angle_distort", text="") rowsub.prop(print_3d, "angle_distort", text="")
rowsub = col.row() rowsub = col.row(align=True)
rowsub.operator("mesh.print3d_check_thick", text="Thickness") rowsub.operator("mesh.print3d_check_thick", text="Thickness")
rowsub.prop(print_3d, "thickness_min", text="") 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.operator("mesh.print3d_check_sharp", text="Edge Sharp")
rowsub.prop(print_3d, "angle_sharp", text="") rowsub.prop(print_3d, "angle_sharp", text="")
rowsub = col.row() rowsub = col.row(align=True)
rowsub.operator("mesh.print3d_check_overhang", text="Overhang") rowsub.operator("mesh.print3d_check_overhang", text="Overhang")
rowsub.prop(print_3d, "angle_overhang", text="") rowsub.prop(print_3d, "angle_overhang", text="")
col = layout.column() col = layout.column()
...@@ -102,7 +102,7 @@ class Print3DToolBar: ...@@ -102,7 +102,7 @@ class Print3DToolBar:
row.label("Cleanup:") row.label("Cleanup:")
col = layout.column(align=True) col = layout.column(align=True)
col.operator("mesh.print3d_clean_isolated", text="Isolated") 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.operator("mesh.print3d_clean_distorted", text="Distorted")
rowsub.prop(print_3d, "angle_distort", text="") rowsub.prop(print_3d, "angle_distort", text="")
# XXX TODO # XXX TODO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment