collapsing headers

This commit is contained in:
Simon Gardling 2022-03-01 15:17:08 -05:00
parent 501fa42789
commit 37e98a7009

View File

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