Adjust top padding in default.py to 20 for improved text placement in profile card rendering, enhancing overall layout aesthetics and readability.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
This commit is contained in:
parent
3ecf002c37
commit
a2032b4813
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue