mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 10:51:13 +00:00
Change Bonsai snap target UI to column.
This commit is contained in:
@@ -1247,12 +1247,9 @@ class BIM_PT_snappping(Panel):
|
|||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
prop = context.scene.BIMSnapProperties
|
prop = context.scene.BIMSnapProperties
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
row = layout.row(align=True)
|
col = layout.column(align=True)
|
||||||
row.prop(prop, "vertex", toggle=True, icon="SNAP_VERTEX")
|
col.prop(prop, "vertex", toggle=True, icon="SNAP_VERTEX")
|
||||||
row = layout.row(align=True)
|
col.prop(prop, "edge", toggle=True, icon="SNAP_EDGE")
|
||||||
row.prop(prop, "edge", toggle=True, icon="SNAP_EDGE")
|
col.prop(prop, "edge_center", toggle=True, icon="SNAP_MIDPOINT")
|
||||||
row = layout.row(align=True)
|
col.prop(prop, "face", toggle=True, icon="SNAP_FACE")
|
||||||
row.prop(prop, "edge_center", toggle=True, icon="SNAP_MIDPOINT")
|
|
||||||
row = layout.row(align=True)
|
|
||||||
row.prop(prop, "face", toggle=True, icon="SNAP_FACE")
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user