mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-12 13:42:59 +00:00
make stock symbols larger
This commit is contained in:
@@ -424,9 +424,9 @@ class StockManager:
|
|||||||
|
|
||||||
# Create smaller versions of the fonts for symbol and price
|
# Create smaller versions of the fonts for symbol and price
|
||||||
symbol_font = ImageFont.truetype(self.display_manager.regular_font.path,
|
symbol_font = ImageFont.truetype(self.display_manager.regular_font.path,
|
||||||
int(self.display_manager.regular_font.size * 0.8))
|
int(self.display_manager.regular_font.size))
|
||||||
price_font = ImageFont.truetype(self.display_manager.regular_font.path,
|
price_font = ImageFont.truetype(self.display_manager.regular_font.path,
|
||||||
int(self.display_manager.regular_font.size * 0.8))
|
int(self.display_manager.regular_font.size))
|
||||||
|
|
||||||
# Calculate text dimensions for proper spacing
|
# Calculate text dimensions for proper spacing
|
||||||
symbol_text = symbol
|
symbol_text = symbol
|
||||||
|
|||||||
Reference in New Issue
Block a user