status: fix p2pool stats overflow

Use all available height so `P2Pool` stats don't overflow
This commit is contained in:
hinto.janai 2023-04-14 12:19:09 -04:00
parent 7b56a7b900
commit a4eba8a77f
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -47,7 +47,7 @@ pub fn show(&mut self, sys: &Arc<Mutex<Sys>>, p2pool_api: &Arc<Mutex<PubP2poolAp
//---------------------------------------------------------------------------------------------------- [Processes]
if self.submenu == Submenu::Processes {
let width = (width/3.0)-(SPACE*1.666);
let min_height = height/1.1;
let min_height = height - SPACE;
let height = height/25.0;
ui.horizontal(|ui| {
// [Gupax]