diff --git a/src/egui_app.rs b/src/egui_app.rs index 77cd399..8c7b971 100644 --- a/src/egui_app.rs +++ b/src/egui_app.rs @@ -173,11 +173,13 @@ impl epi::App for MathApp { .open(&mut self.help_open) .resizable(false) .show(ctx, |ui| { - ui.heading("Supported Expressions"); - ui.label(HELP1_TEXT); + ui.collapsing("Supported Expressions", |ui| { + ui.label(HELP1_TEXT); + }); - ui.heading("Buttons"); - ui.label(HELP2_TEXT); + ui.collapsing("Buttons", |ui| { + ui.label(HELP2_TEXT); + }); }); let mut parse_error: String = String::new(); // Stores errors found when interpreting input functions