You've already forked HeurAMS-legacy
fix: 滚动
This commit is contained in:
@@ -8,7 +8,7 @@ from textual.widgets import (
|
||||
Button,
|
||||
Markdown,
|
||||
)
|
||||
from textual.containers import Container
|
||||
from textual.containers import ScrollableContainer, ScrollableContainer
|
||||
from textual.screen import Screen
|
||||
|
||||
import heurams.services.version as version
|
||||
@@ -19,7 +19,7 @@ class AboutScreen(Screen):
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Header(show_clock=True)
|
||||
with Container(id="about_container"):
|
||||
with ScrollableContainer(id="about_container"):
|
||||
yield Label("[b]关于与版本信息[/b]")
|
||||
about_text = f"""
|
||||
# 关于 "潜进"
|
||||
|
||||
Reference in New Issue
Block a user