Tray: open the devices window wider and let its table scroll sideways
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
2e178a6f9d
commit
2f7f9980c7
2 files changed
+2
-2
No files matched your search
@@ -112,7 +112,7 @@ impl App {
|
|||||||
let viewport_id = egui::ViewportId::from_hash_of(("devices", &id));
|
let viewport_id = egui::ViewportId::from_hash_of(("devices", &id));
|
||||||
let builder = egui::ViewportBuilder::default()
|
let builder = egui::ViewportBuilder::default()
|
||||||
.with_title(devices::title(network))
|
.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]);
|
.with_min_inner_size([480.0, 320.0]);
|
||||||
let agent = &self.agent;
|
let agent = &self.agent;
|
||||||
let traffic = &self.traffic;
|
let traffic = &self.traffic;
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ pub(crate) fn show(
|
|||||||
))
|
))
|
||||||
.strong(),
|
.strong(),
|
||||||
);
|
);
|
||||||
egui::ScrollArea::vertical()
|
egui::ScrollArea::both()
|
||||||
.auto_shrink([false, false])
|
.auto_shrink([false, false])
|
||||||
.show(ui, |ui| {
|
.show(ui, |ui| {
|
||||||
device_table(ui, unit, &network.network_id, &devices, traffic);
|
device_table(ui, unit, &network.network_id, &devices, traffic);
|
||||||
|
|||||||
Reference in new issue
Block a user