From 6d1b49cdcfd2c9b16d7f3e09b308aaeba663412c Mon Sep 17 00:00:00 2001 From: ChuckBuilds <33324927+ChuckBuilds@users.noreply.github.com> Date: Fri, 18 Apr 2025 21:00:50 -0500 Subject: [PATCH] feat: Center stock text between logo and chart --- src/stock_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stock_manager.py b/src/stock_manager.py index ece1ce93..00282db9 100644 --- a/src/stock_manager.py +++ b/src/stock_manager.py @@ -412,8 +412,8 @@ class StockManager: # Calculate starting y position to center the text block start_y = (height - total_text_height) // 2 - # Position text elements closer to the logo - text_x = width // 6 # Changed from width//3 to width//6 to move closer to logo + # Position text elements centered between logo and chart + text_x = width // 4 # Changed from width//6 to width//4 to center between logo and chart # Draw symbol symbol_width = symbol_bbox[2] - symbol_bbox[0]