mirror of
https://git.srhtnin.garden/sarah/SaraSuite.git
synced 2026-10-15 02:33:17 +02:00
Add SaraSort, listed under SaraSortd
Manifests can name a Parent program; it's listed (indented) right under it, in the window and in `list`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
08c9071b48
commit
6e4c571e38
7 files changed
+62
-2
No files matched your search
@@ -8,6 +8,8 @@ from Core import ChipButtonStyle, Palette
|
||||
from Installer import RemovalPlan, Status
|
||||
from Manifests import Program
|
||||
|
||||
ChildIndent = 40
|
||||
|
||||
|
||||
class ProgramCard(ft.Container):
|
||||
def __init__(
|
||||
@@ -70,6 +72,8 @@ class ProgramCard(ft.Container):
|
||||
border=ft.Border.all(1, Palette.Surface1),
|
||||
border_radius=8,
|
||||
padding=16,
|
||||
# A program that belongs to another (Parent) sits indented under it.
|
||||
margin=ft.Margin.only(left=ChildIndent) if Program.Parent else None,
|
||||
)
|
||||
|
||||
def _SetChip(self, Text: str, Color: str) -> None:
|
||||
|
||||
Reference in new issue
Block a user