mirror of
https://github.com/hinto-janai/gupax.git
synced 2024-12-22 10:59:21 +00:00
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
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:
commit
45a1507d0d
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue