You've already forked HeurAMS-legacy
fix: 滚动
This commit is contained in:
@@ -8,8 +8,8 @@ from textual.widgets import (
|
||||
Static,
|
||||
ProgressBar,
|
||||
)
|
||||
from textual.containers import Container, Horizontal
|
||||
from textual.containers import Container
|
||||
from textual.containers import ScrollableContainer, Horizontal
|
||||
from textual.containers import ScrollableContainer
|
||||
from textual.screen import Screen
|
||||
import pathlib
|
||||
|
||||
@@ -28,7 +28,7 @@ class SyncScreen(Screen):
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
yield Header(show_clock=True)
|
||||
with Container(id="sync_container"):
|
||||
with ScrollableContainer(id="sync_container"):
|
||||
pass
|
||||
yield Footer()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user