You've already forked HeurAMS-legacy
fix: 滚动
This commit is contained in:
@@ -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}'),
|
||||
|
||||
Reference in New Issue
Block a user