mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 04:59:52 +00:00
Ifc Text - drop down menu to switch font size
Added drop down menu to Ifc Text section in object properties where you can change text's size and it will automatically change it in `EPset_Annotation.Classes`. You can also preview it in viewport and it will write in IFC only after you finish editing. Still need to investigate `annotation.Annotator.resize_text(context.active_object)` in `refreshFontSize`.
This commit is contained in:
@@ -355,8 +355,7 @@ class BIM_PT_text(Panel):
|
||||
row = self.layout.row(align=True)
|
||||
row.prop(props, 'font_size')
|
||||
|
||||
# a bit hacky way to align box alignment widget
|
||||
rows = [self.layout.row(align=True) for i in range(3)]
|
||||
rows = []
|
||||
for i in range(9):
|
||||
if i % 3 == 0:
|
||||
split = rows[i//3].split(factor=0.1, align=True)
|
||||
|
||||
Reference in New Issue
Block a user