This commit is contained in:
Auric Vente 2024-07-19 01:56:17 -06:00
parent 8807a49e88
commit 3cf6db946b
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ class Config:
loop_delay_slow: int = 60_000
hatch_burst: int = 3
font_size: int = 20
footer_font_size: int = 18
info_separator: str = " - "
@staticmethod
def prepare() -> None:

View File

@ -191,5 +191,5 @@ class Game:
if hits:
text.append(f"Hits:{nb}{hits.name}")
Window.info.setText(" | ".join(text))
Window.info.setText(Config.info_separator.join(text))
Window.info.adjustSize()

View File

@ -187,7 +187,7 @@ class Window:
Window.info = SpecialButton("---")
Window.info.setToolTip("Scroll to the bottom")
Window.info.clicked.connect(Window.to_bottom)
Window.expand(Window.info)
Window.info.setMinimumSize(35, 35)
container.addWidget(Window.info)
root.setLayout(container)
Window.root.addWidget(root)