Update stock_news_manager.py

added gap before headline 1 in stock_news_manager to reinforce the scroll effect
This commit is contained in:
Chuck
2025-04-17 21:41:26 -05:00
parent e6d400281c
commit 720c44106d

View File

@@ -210,6 +210,9 @@ class StockNewsManager:
current_x = 0
screen_width_gap = width # Use a full screen width as the gap
# Add initial gap before the first headline
current_x += screen_width_gap
actual_total_width = 0
for news in all_news:
news_text = f"{news['symbol']}: {news['title']} "