New/Upload buttons with the file tree, above or below

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
sarahandClaude Opus 5.5 committed 2026-10-13 17:10:21 +02:00
1 parent 6750f7927f
commit 0450fee42b
6 files changed
+27 -100

No files matched your search

+5 -3
View File
@@ -68,11 +68,13 @@ class Browser(ft.Column):
),
items=[],
)
# Shown with the sidebar tree, above or below it (Filetree.SetEntryButtons).
self.EntryButtons = ft.Container(
ft.Row([self.NewFileButton, self.NewDirectoryButton, self.UploadButton], wrap=True, spacing=6, run_spacing=6),
padding=ft.Padding.symmetric(horizontal=8, vertical=8),
)
self.ActionsToolbar = ft.Row(
[
self.NewFileButton,
self.NewDirectoryButton,
self.UploadButton,
ft.IconButton(icon=ft.Icons.HUB_OUTLINED, icon_color=Palette.Mauve, tooltip="Graph (Ctrl+G)",
on_click=lambda e: self.ShowGraph()),
ft.IconButton(icon=ft.Icons.REFRESH, icon_color=Palette.Mauve, tooltip="Refresh (Ctrl+R)",