rename app layout to shell and add window frame

This commit is contained in:
2026-11-02 09:28:47 +07:00
parent aa40003a37
commit 0f535413f2
8 changed files with 205 additions and 19 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ use gpui_native_data::sidebar::{Sidebar, SidebarEntry};
use gpui_native_data::tabs::{Tab, Tabs};
use gpui_native_data::tree::{Tree, TreeItem};
use gpui_native_icons::{IconAssets, IconRole, icon};
use gpui_native_layout::app_layout::{AppLayout, LayoutState};
use gpui_native_layout::resize_handle::ResizeHandle;
use gpui_native_layout::shell::{LayoutState, Shell};
use gpui_native_theme::{ActiveTheme as _, Size, Theme};
use gpui_platform::application;
@@ -216,7 +216,7 @@ impl Gallery {
.child("Center \u{2014} the dock lands here (L3)")
.text_color(colors.muted_foreground);
AppLayout::new("gallery-shell", state)
Shell::new("gallery-shell", state)
.left_sidebar(left_sidebar)
.center(center)
.right_sidebar(right_sidebar)