mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-23 07:09:23 +00:00
feat: add scrollbar to xvb tab
This commit is contained in:
parent
a232058772
commit
089cdf5e17
1 changed files with 277 additions and 273 deletions
|
@ -36,6 +36,8 @@ impl crate::disk::state::Xvb {
|
||||||
gui_api_xmrig: &Arc<Mutex<PubXmrigApi>>,
|
gui_api_xmrig: &Arc<Mutex<PubXmrigApi>>,
|
||||||
private_stats: bool,
|
private_stats: bool,
|
||||||
) {
|
) {
|
||||||
|
egui::ScrollArea::vertical().show(ui, |ui| {
|
||||||
|
|
||||||
let website_height = size.y / 10.0;
|
let website_height = size.y / 10.0;
|
||||||
let width = size.x;
|
let width = size.x;
|
||||||
let height = size.y;
|
let height = size.y;
|
||||||
|
@ -327,5 +329,7 @@ impl crate::disk::state::Xvb {
|
||||||
ui.hyperlink_to("Rules", XVB_URL_RULES)
|
ui.hyperlink_to("Rules", XVB_URL_RULES)
|
||||||
.on_hover_text("Click here to read the rules and understand how the raffle works.");
|
.on_hover_text("Click here to read the rules and understand how the raffle works.");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue