Archived
0
0

fix: 滚动

This commit is contained in:
2025-12-15 16:35:07 +08:00
parent 6efd041f72
commit b6c719fb21
12 changed files with 26 additions and 53 deletions

View File

@@ -9,7 +9,7 @@ from textual.widgets import (
Button,
Static,
)
from textual.containers import Container
from textual.containers import ScrollableContainer
from textual.screen import Screen
from heurams.kernel.particles import *
@@ -26,7 +26,7 @@ class DashboardScreen(Screen):
def compose(self) -> ComposeResult:
yield Header(show_clock=True)
yield Container(
yield ScrollableContainer(
Label(f'欢迎使用 "潜进" 启发式先进记忆调度器', classes="title-label"),
Label(f"当前 UNIX 日时间戳: {timer.get_daystamp()}"),
Label(f'时区修正: UTC+{config_var.get()["timezone_offset"] / 3600}'),