From fa7429b6c09feac5c5ea9e9fb5fdf1d4137b7632 Mon Sep 17 00:00:00 2001 From: Cherry <13651622+MolotovCherry@users.noreply.github.com> Date: Sat, 21 Oct 2023 16:43:03 -0700 Subject: [PATCH] Re-align all monitors button --- virtual-display-driver-control/src/ui/main_window.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/virtual-display-driver-control/src/ui/main_window.rs b/virtual-display-driver-control/src/ui/main_window.rs index 2e506928..e7007c71 100644 --- a/virtual-display-driver-control/src/ui/main_window.rs +++ b/virtual-display-driver-control/src/ui/main_window.rs @@ -41,12 +41,6 @@ impl<'a> MainWindow<'a> { let switch = ui .with_layout(Layout::right_to_left(Align::Center), |ui| { - // alligns it up with the others - ui.allocate_exact_size( - vec2(0.0, ui.available_height()), - Sense::focusable_noninteractive(), - ); - ui.add(toggle(&mut self.app.enabled)) .on_hover_text("Enable/disable all monitors") })