diff --git a/virtual-display-driver-control/src/ui/main_window.rs b/virtual-display-driver-control/src/ui/main_window.rs index e7007c71..7224f4f0 100644 --- a/virtual-display-driver-control/src/ui/main_window.rs +++ b/virtual-display-driver-control/src/ui/main_window.rs @@ -66,7 +66,7 @@ impl<'a> MainWindow<'a> { // compare to this one let height = ui.min_rect().height(); rect.set_top(rect.top() + height + 10.0); - rect.set_bottom(rect.bottom() + (height / 2.0) + 6.0); + rect.set_bottom(rect.bottom() + height - 1.5); rect.set_left(rect.left() - 2.0); rect.set_right(rect.right() + 2.0);