From b4a4e83457c8fc353e75ddf6c284bd41422f0db4 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Fri, 24 Nov 2023 10:12:04 -0500 Subject: [PATCH] p2pool: shorten simple terminal height same height as xmrig advanced, should prevent (most) clipping issues on low resolution windows --- src/p2pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p2pool.rs b/src/p2pool.rs index c8dfaea..45c6e39 100644 --- a/src/p2pool.rs +++ b/src/p2pool.rs @@ -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()));