mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 11:06:51 +00:00
Black
This commit is contained in:
@@ -51,10 +51,10 @@ class BIM_PT_spatial(Panel):
|
|||||||
if SpatialData.data["selected_containers"]:
|
if SpatialData.data["selected_containers"]:
|
||||||
row = self.layout.row()
|
row = self.layout.row()
|
||||||
row.label(text=f"{len(SpatialData.data['selected_containers'])} Selected Containers")
|
row.label(text=f"{len(SpatialData.data['selected_containers'])} Selected Containers")
|
||||||
for name in SpatialData.data['selected_containers'][:3]:
|
for name in SpatialData.data["selected_containers"][:3]:
|
||||||
row = self.layout.row()
|
row = self.layout.row()
|
||||||
row.label(text=name, icon="OUTLINER_COLLECTION")
|
row.label(text=name, icon="OUTLINER_COLLECTION")
|
||||||
if len(SpatialData.data['selected_containers']) > 3:
|
if len(SpatialData.data["selected_containers"]) > 3:
|
||||||
row = self.layout.row()
|
row = self.layout.row()
|
||||||
row.label(text=f"... {len(SpatialData.data['selected_containers']) - 3} More")
|
row.label(text=f"... {len(SpatialData.data['selected_containers']) - 3} More")
|
||||||
row = self.layout.row(align=True)
|
row = self.layout.row(align=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user