From 7f38aec32ae0f5fc7ec939b2d60fcd6c51449c4a Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Wed, 23 Jul 2025 17:39:17 -0500 Subject: [PATCH] adjust stock logo draw --- src/stock_manager.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/stock_manager.py b/src/stock_manager.py index 80a5365f..47174349 100644 --- a/src/stock_manager.py +++ b/src/stock_manager.py @@ -476,8 +476,8 @@ class StockManager: # When chart is enabled, center text more to the left column_x = width // 2.85 else: - # When chart is disabled, position text closer to logo - column_x = width // 3 + # When chart is disabled, position text with more space from logo + column_x = width // 2.85 # Draw symbol symbol_width = symbol_bbox[2] - symbol_bbox[0] @@ -620,8 +620,8 @@ class StockManager: # Calculate total width needed for all stocks # Each stock needs width*2 for scrolling, plus consistent gaps between elements - stock_gap = width // 3 # Gap between stocks - element_gap = width // 6 # Gap between elements within a stock + stock_gap = width // 6 # Reduced gap between stocks + element_gap = width // 8 # Reduced gap between elements within a stock total_width = sum(width * 2 for _ in symbols) + stock_gap * (len(symbols) - 1) + element_gap * (len(symbols) * 2 - 1) # Create the full image