mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
Use cancel icon for disabling operators for consistency
This commit is contained in:
@@ -45,7 +45,7 @@ class BIM_PT_constraints(Panel):
|
|||||||
row = self.layout.row(align=True)
|
row = self.layout.row(align=True)
|
||||||
row.label(text=f"{ConstraintsData.data['total_objectives']} Objectives Found", icon="LIGHT")
|
row.label(text=f"{ConstraintsData.data['total_objectives']} Objectives Found", icon="LIGHT")
|
||||||
if self.props.is_editing == "IfcObjective":
|
if self.props.is_editing == "IfcObjective":
|
||||||
row.operator("bim.disable_constraint_editing_ui", text="", icon="CHECKMARK")
|
row.operator("bim.disable_constraint_editing_ui", text="", icon="CANCEL")
|
||||||
row.operator("bim.add_objective", text="", icon="ADD")
|
row.operator("bim.add_objective", text="", icon="ADD")
|
||||||
else:
|
else:
|
||||||
row.operator("bim.load_objectives", text="", icon="GREASEPENCIL")
|
row.operator("bim.load_objectives", text="", icon="GREASEPENCIL")
|
||||||
|
|||||||
@@ -503,7 +503,7 @@ class BIM_PT_structural_loads(Panel):
|
|||||||
text="FILTER - OFF" if not self.props.filtered_structural_loads else "FILTER - ON",
|
text="FILTER - OFF" if not self.props.filtered_structural_loads else "FILTER - ON",
|
||||||
icon="FILTER",
|
icon="FILTER",
|
||||||
)
|
)
|
||||||
row.operator("bim.disable_structural_load_editing_ui", text="", icon="SCREEN_BACK")
|
row.operator("bim.disable_structural_load_editing_ui", text="", icon="CANCEL")
|
||||||
|
|
||||||
row = self.layout.row(align=True)
|
row = self.layout.row(align=True)
|
||||||
prop_with_search(row, self.props, "structural_load_types", text="")
|
prop_with_search(row, self.props, "structural_load_types", text="")
|
||||||
@@ -574,7 +574,7 @@ class BIM_PT_boundary_conditions(Panel):
|
|||||||
text="FILTER - OFF" if not self.props.filtered_boundary_conditions else "FILTER - ON",
|
text="FILTER - OFF" if not self.props.filtered_boundary_conditions else "FILTER - ON",
|
||||||
icon="FILTER",
|
icon="FILTER",
|
||||||
)
|
)
|
||||||
row.operator("bim.disable_boundary_condition_editing_ui", text="", icon="SCREEN_BACK")
|
row.operator("bim.disable_boundary_condition_editing_ui", text="", icon="CANCEL")
|
||||||
|
|
||||||
row = self.layout.row(align=True)
|
row = self.layout.row(align=True)
|
||||||
prop_with_search(row, self.props, "boundary_condition_types", text="")
|
prop_with_search(row, self.props, "boundary_condition_types", text="")
|
||||||
|
|||||||
Reference in New Issue
Block a user