Merge pull request #109 from ngducdun/fix-centralpanel
Some checks failed
CI / ci (ubuntu-20.04) (push) Has been cancelled
CI / ci (windows-2019) (push) Has been cancelled
gupax.io / build (push) Has been cancelled
Remote Node Ping / build (push) Has been cancelled
Typo / typo (push) Has been cancelled
Cache `gupax.io` / build (push) Has been cancelled
CI / ci (macos-14) (push) Has been cancelled

main: fix central panel cover up the bottom
This commit is contained in:
hinto-janai 2024-12-08 09:00:16 -05:00 committed by GitHub
commit 45a1507d0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);
} }
} }
});
}); });
} }
} }