From a451b58ab4e3f0545623a2d3a378619a427f8aff Mon Sep 17 00:00:00 2001 From: Ralf Zerres Date: Wed, 3 Mar 2021 11:53:17 +0100 Subject: [PATCH] widget:menu: deactivate requirement for new popup_code * since new popup code is just in PR #304, do not rely on its availibility Signed-off-by: Ralf Zerres --- advotracker/src/widgets/menu/menu_state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advotracker/src/widgets/menu/menu_state.rs b/advotracker/src/widgets/menu/menu_state.rs index d665af9..5cfac5a 100644 --- a/advotracker/src/widgets/menu/menu_state.rs +++ b/advotracker/src/widgets/menu/menu_state.rs @@ -212,7 +212,7 @@ fn create_menu_popup(target: Entity, ctx: &mut BuildContext<'_>) -> Entity { .open(true) // WIP: this requires orbtk-develop with PR #304 (new_popup) // Specify the popup position relative to the target - .relative_position(RelativePosition::Bottom(5.0)) + //.relative_position(RelativePosition::Bottom(5.0)) // Reference target from given Point //.target(Point::new(100.0,100.0)) //.style("popup_menu")