mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Black
This commit is contained in:
@@ -51,10 +51,10 @@ class BIM_PT_spatial(Panel):
|
||||
if SpatialData.data["selected_containers"]:
|
||||
row = self.layout.row()
|
||||
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.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.label(text=f"... {len(SpatialData.data['selected_containers']) - 3} More")
|
||||
row = self.layout.row(align=True)
|
||||
|
||||
Reference in New Issue
Block a user