From 2f7f9980c74a50286f4e7d5aa86afb4085b0975e Mon Sep 17 00:00:00 2001 From: Aleksandr Bogomiakov Date: Fri, 2 Oct 2026 23:05:08 +0100 Subject: [PATCH] Tray: open the devices window wider and let its table scroll sideways Co-Authored-By: Claude --- crates/tsunagi-tray/src/app.rs | 2 +- crates/tsunagi-tray/src/devices.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/tsunagi-tray/src/app.rs b/crates/tsunagi-tray/src/app.rs index 7427906..a016a3d 100644 --- a/crates/tsunagi-tray/src/app.rs +++ b/crates/tsunagi-tray/src/app.rs @@ -112,7 +112,7 @@ impl App { let viewport_id = egui::ViewportId::from_hash_of(("devices", &id)); let builder = egui::ViewportBuilder::default() .with_title(devices::title(network)) - .with_inner_size([720.0, 540.0]) + .with_inner_size([900.0, 540.0]) .with_min_inner_size([480.0, 320.0]); let agent = &self.agent; let traffic = &self.traffic; diff --git a/crates/tsunagi-tray/src/devices.rs b/crates/tsunagi-tray/src/devices.rs index 93af0b3..79e3151 100644 --- a/crates/tsunagi-tray/src/devices.rs +++ b/crates/tsunagi-tray/src/devices.rs @@ -99,7 +99,7 @@ pub(crate) fn show( )) .strong(), ); - egui::ScrollArea::vertical() + egui::ScrollArea::both() .auto_shrink([false, false]) .show(ui, |ui| { device_table(ui, unit, &network.network_id, &devices, traffic);