From 5c79c7e06e25477670fdb88bb84a8d1417ec7467 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Tue, 13 May 2025 15:49:45 +0200 Subject: [PATCH] reshuffle and simplify --- __init__.py | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/__init__.py b/__init__.py index 55cfd66..0f89da3 100644 --- a/__init__.py +++ b/__init__.py @@ -528,17 +528,12 @@ class ABC3D_PT_FontCreation(bpy.types.Panel): abc3d_data = scene.abc3d_data layout.row().operator( - f"{__name__}.create_font_from_objects", text='Create/Extend Font') - box = layout.box() - box.row().label(text="Exporting a fontfile") - box.row().label(text="1. Select export directory:") - box.prop(abc3d_data, 'export_dir') - box.row().label(text="2. More options and export:") - - box.row().operator(f"{__name__}.save_font_to_file", - text='Export Font To File') + f"{__name__}.toggle_abc3d_collection", text="Toggle Collection" + ) layout.row().operator( - f"{__name__}.toggle_abc3d_collection", text='Toggle Collection') + f"{__name__}.create_font_from_objects", text="Create/Extend Font" + ) + layout.row().operator(f"{__name__}.save_font_to_file", text="Export Font To File") box = layout.box() box.label(text="metrics") box.row().operator(