mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Minor UI polish: center tabbar, remove Blender tabs as no longer necessary for native IFC
This commit is contained in:
Binary file not shown.
@@ -361,6 +361,7 @@ class BIM_PT_tabs(Panel):
|
||||
aprops = context.screen.BIMTabProperties
|
||||
|
||||
row = self.layout.row()
|
||||
row.alignment = "CENTER"
|
||||
row.operator(
|
||||
"bim.set_tab",
|
||||
text="",
|
||||
@@ -380,6 +381,7 @@ class BIM_PT_tabs(Panel):
|
||||
|
||||
# Yes, that's right.
|
||||
row = self.layout.row()
|
||||
row.alignment = "CENTER"
|
||||
row.scale_y = 0.2
|
||||
for tab in [
|
||||
"PROJECT",
|
||||
@@ -391,7 +393,6 @@ class BIM_PT_tabs(Panel):
|
||||
"SCHEDULING",
|
||||
"FM",
|
||||
"QUALITY",
|
||||
"BLENDER",
|
||||
"SWITCH",
|
||||
]:
|
||||
if aprops.tab == tab:
|
||||
|
||||
Reference in New Issue
Block a user