Tray: open the devices window wider and let its table scroll sideways

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Aleksandr BogomiakovandClaude committed 2026-10-02 23:05:08 +01:00
1 parent 2e178a6f9d
commit 2f7f9980c7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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);