Mods
This commit is contained in:
parent
8807a49e88
commit
3cf6db946b
|
@ -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:
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue