From a2032b48138fc017d5d73b37e094a7f10eda21f0 Mon Sep 17 00:00:00 2001 From: Valerie Date: Mon, 26 May 2025 22:21:00 -0400 Subject: [PATCH] Adjust top padding in default.py to 20 for improved text placement in profile card rendering, enhancing overall layout aesthetics and readability. --- levelup/generator/styles/default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/levelup/generator/styles/default.py b/levelup/generator/styles/default.py index fa28522..3202b30 100644 --- a/levelup/generator/styles/default.py +++ b/levelup/generator/styles/default.py @@ -218,7 +218,7 @@ def generate_default_profile( # Stats positioning - progress bar starts after profile, stats on right left_edge = pfp_x + pfp_size[0] + 30 # Start progress bar after profile picture stats_x = desired_card_size[0] - 400 # Right side stats position - top_padding = 40 # Consistent top padding for all text + top_padding = 20 # Reduced top padding for higher text placement # Draw stats with consistent spacing title_font = ImageFont.truetype(str(font_path or imgtools.DEFAULT_FONT), 32)