diff --git a/__init__.py b/__init__.py index 779051f..1012be1 100644 --- a/__init__.py +++ b/__init__.py @@ -346,17 +346,19 @@ class ABC3D_PT_FontList(bpy.types.Panel): n = 16 n_rows = int(len(available_glyphs) / n) box.row().label(text=f"Glyphs:") + subbox = box.box() for i in range(0, n_rows + 1): text = ''.join([f"{u}" for ui, u in enumerate(available_glyphs) if ui < (i+1) * n and ui >= i * n]) scale_y = 0.5 - row = box.row(); row.scale_y = scale_y + row = subbox.row(); row.scale_y = scale_y; row.alignment = 'CENTER' row.label(text=text) n_rows = int(len(loaded_glyphs) / n) box.row().label(text=f"Loaded Glyphs:") + subbox = box.box() for i in range(0, n_rows + 1): text = ''.join([f"{u}" for ui, u in enumerate(loaded_glyphs) if ui < (i+1) * n and ui >= i * n]) scale_y = 0.5 - row = box.row(); row.scale_y = scale_y + row = subbox.row(); row.scale_y = scale_y row.label(text=text)