Skip to content

Commit 1eacc54

Browse files
committed
feat: 添加底部面板
1 parent d3a633d commit 1eacc54

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • crates/project_graph/src

crates/project_graph/src/app.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,15 @@ impl eframe::App for MyApp {
119119
ui.separator();
120120
});
121121

122+
egui::TopBottomPanel::bottom("bottom_panel")
123+
.resizable(true)
124+
.default_height(200.0)
125+
.height_range(150.0..=500.0)
126+
.show(ctx, |ui| {
127+
ui.heading("Terminal");
128+
ui.separator();
129+
});
130+
122131
egui::CentralPanel::default().show(ctx, |ui| {
123132
self.stage.ui(ui);
124133
});

0 commit comments

Comments
 (0)