mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
BURN THE WITCH
This commit is contained in:
@@ -52,7 +52,7 @@ class HtmlElement:
|
||||
font_weight: FontWeight
|
||||
margin_top: int
|
||||
margin_bottom: int
|
||||
line_height: float = 0.9 # matches Qt visually, unsure why not default 1.2
|
||||
line_height: float = 0.9
|
||||
indent_level: int = 0
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ class HtmlRenderer(Widget):
|
||||
self._cached_height: float | None = None
|
||||
self._cached_width: int = -1
|
||||
|
||||
# Base paragraph size (Qt stylesheet default is 48px in offroad alerts)
|
||||
# Base paragraph size for offroad alerts.
|
||||
base_p_size = int(text_size.get(ElementType.P, 48))
|
||||
|
||||
# Untagged text defaults to <p>
|
||||
|
||||
Reference in New Issue
Block a user