mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
Resizable panels + right and bottom panels (#438)
* Side panel resizing and add right panels * Add resizable top/bottom panels * Deprecate TopPanel * Final tweaks and update CHANGELOG.md
This commit is contained in:
@@ -31,7 +31,7 @@ fn main() {
|
||||
|
||||
let mut quit = false;
|
||||
|
||||
egui::SidePanel::left("my_side_panel", 300.0).show(egui.ctx(), |ui| {
|
||||
egui::SidePanel::left("my_side_panel").show(egui.ctx(), |ui| {
|
||||
ui.heading("Hello World!");
|
||||
if ui.button("Quit").clicked() {
|
||||
quit = true;
|
||||
|
||||
Reference in New Issue
Block a user