p2pool: shorten simple terminal height

same height as xmrig advanced, should prevent (most)
clipping issues on low resolution windows
This commit is contained in:
hinto.janai 2023-11-24 10:12:04 -05:00
parent 1b21928eb8
commit b4a4e83457
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -43,7 +43,7 @@ impl crate::disk::P2pool {
debug!("P2Pool Tab | Rendering [Console]");
ui.group(|ui| {
if self.simple {
let height = height / 2.4;
let height = height / 2.8;
let width = width - SPACE;
egui::Frame::none().fill(DARK_GRAY).show(ui, |ui| {
ui.style_mut().override_text_style = Some(Name("MonospaceSmall".into()));