fix: align processes height

This commit is contained in:
Cyrix126 2024-12-11 19:15:56 +01:00
parent c233a91875
commit a9df44b083

View file

@ -31,7 +31,7 @@ impl Status {
states: &ProcessStatesGui, states: &ProcessStatesGui,
) { ) {
let width_column = ui.text_style_height(&TextStyle::Body) * 16.0; let width_column = ui.text_style_height(&TextStyle::Body) * 16.0;
let height_column = width_column * 2.4; let height_column = width_column * 2.5;
ui.style_mut().wrap_mode = Some(egui::TextWrapMode::Extend); ui.style_mut().wrap_mode = Some(egui::TextWrapMode::Extend);
// let width = ((ui.available_width() / 5.0) - (SPACE * 1.7500)).max(0.0); // let width = ((ui.available_width() / 5.0) - (SPACE * 1.7500)).max(0.0);
ScrollArea::vertical().show(ui, |ui| { ScrollArea::vertical().show(ui, |ui| {