Only show Blender tab icon in dropdown, separated.

This helps for smaller screens and makes it less overwhelming for users.
This commit is contained in:
Dion Moult
2024-06-05 15:00:28 +10:00
parent d294be3433
commit 9699eb38c5
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -328,6 +328,7 @@ def get_tab(self, context):
("SCHEDULING", "Costing and Scheduling", "", "NLA", 6), ("SCHEDULING", "Costing and Scheduling", "", "NLA", 6),
("FM", "Facility Management", "", "PACKAGE", 7), ("FM", "Facility Management", "", "PACKAGE", 7),
("QUALITY", "Quality and Coordination", "", "COMMUNITY", 8), ("QUALITY", "Quality and Coordination", "", "COMMUNITY", 8),
None,
("BLENDER", "Blender Properties", "", "BLENDER", 9), ("BLENDER", "Blender Properties", "", "BLENDER", 9),
] ]
-1
View File
@@ -376,7 +376,6 @@ class BIM_PT_tabs(Panel):
self.draw_tab_entry(row, "NLA", "SCHEDULING", is_ifc_project, aprops.tab == "SCHEDULING") self.draw_tab_entry(row, "NLA", "SCHEDULING", is_ifc_project, aprops.tab == "SCHEDULING")
self.draw_tab_entry(row, "PACKAGE", "FM", True, aprops.tab == "FM") self.draw_tab_entry(row, "PACKAGE", "FM", True, aprops.tab == "FM")
self.draw_tab_entry(row, "COMMUNITY", "QUALITY", True, aprops.tab == "QUALITY") self.draw_tab_entry(row, "COMMUNITY", "QUALITY", True, aprops.tab == "QUALITY")
self.draw_tab_entry(row, "BLENDER", "BLENDER", True, aprops.tab == "BLENDER")
row.operator("bim.switch_tab", text="", emboss=False, icon="UV_SYNC_SELECT") row.operator("bim.switch_tab", text="", emboss=False, icon="UV_SYNC_SELECT")
# Yes, that's right. # Yes, that's right.