mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 21:58:46 +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
|
aprops = context.screen.BIMTabProperties
|
||||||
|
|
||||||
row = self.layout.row()
|
row = self.layout.row()
|
||||||
|
row.alignment = "CENTER"
|
||||||
row.operator(
|
row.operator(
|
||||||
"bim.set_tab",
|
"bim.set_tab",
|
||||||
text="",
|
text="",
|
||||||
@@ -380,6 +381,7 @@ class BIM_PT_tabs(Panel):
|
|||||||
|
|
||||||
# Yes, that's right.
|
# Yes, that's right.
|
||||||
row = self.layout.row()
|
row = self.layout.row()
|
||||||
|
row.alignment = "CENTER"
|
||||||
row.scale_y = 0.2
|
row.scale_y = 0.2
|
||||||
for tab in [
|
for tab in [
|
||||||
"PROJECT",
|
"PROJECT",
|
||||||
@@ -391,7 +393,6 @@ class BIM_PT_tabs(Panel):
|
|||||||
"SCHEDULING",
|
"SCHEDULING",
|
||||||
"FM",
|
"FM",
|
||||||
"QUALITY",
|
"QUALITY",
|
||||||
"BLENDER",
|
|
||||||
"SWITCH",
|
"SWITCH",
|
||||||
]:
|
]:
|
||||||
if aprops.tab == tab:
|
if aprops.tab == tab:
|
||||||
|
|||||||
Reference in New Issue
Block a user