main: fix central panel cover up the bottom

This commit is contained in:
ngducdun 2024-12-05 21:46:17 +07:00
parent f3d29c99de
commit 23888af364

View file

@ -2412,6 +2412,7 @@ impl eframe::App for App {
self.width = ui.available_width(); self.width = ui.available_width();
self.height = ui.available_height(); self.height = ui.available_height();
ui.style_mut().override_text_style = Some(TextStyle::Body); ui.style_mut().override_text_style = Some(TextStyle::Body);
egui::ScrollArea::vertical().show(ui, |ui| {
match self.tab { match self.tab {
Tab::About => { Tab::About => {
debug!("App | Entering [About] Tab"); debug!("App | Entering [About] Tab");
@ -2543,6 +2544,7 @@ path_xmr: {:#?}\n
crate::disk::Xmrig::show(&mut self.state.xmrig, &mut self.pool_vec, &self.xmrig, &self.xmrig_api, &mut self.xmrig_stdin, self.width, self.height, ctx, ui); crate::disk::Xmrig::show(&mut self.state.xmrig, &mut self.pool_vec, &self.xmrig, &self.xmrig_api, &mut self.xmrig_stdin, self.width, self.height, ctx, ui);
} }
} }
});
}); });
} }
} }